These are chat archives for OfficeDev/ews-java-api

20th
Nov 2018
medhanafi
@medhanafi
Nov 20 2018 14:15
Thank you now its works.
I customize the Exchange services and switch off hostname verification. So i have a question
To understand better, what is the disadvantage to override hostname verifier
Pavel Kropachev
@pkropachev
Nov 20 2018 21:35
Your application will accept invalid and wildcard certificates. This may be acceptable for testing and/or usage inside intranet, but not for production and public usage. One of the way is add option in your application to ignore verification of hostname.
If you requested certificate for your Exchange server from Certificate Authority provider then just request issue a certificate with additional subject alternative names that are used by your server.
If you're using your own Certificate Services in AD then just issue a new certificate for your Exchange server.