sslHostnameVerificationPolicy
Specifies the policy for verifying hostnames during SSL/TLS connections.
The policy determines when hostname verification occurs during the connection process:
During TLS handshake (by JSSE)
After TLS handshake (by HttpClient)
Or both (default)
Default value is HostnameVerificationPolicy.BOTH which provides maximum security by performing verification at both stages.
See also
HostnameVerificationPolicy