0

For SSL connection when does actually hostname verification done.

Some application servers provide option to disable hostname verification

like in Weblogic it can be disabled at server level

-Dweblogic.security.SSL.ignoreHostnameVerify

We can disable progamitically as discussed here by having custom verifier which implments javax.net.ssl.HostnameVerifier

Is there a generic way to disable hostname verification at server level.

Community
  • 1
  • 1
sare
  • 33
  • 1
  • 6
  • Is this off-topic for StackOverflow? It might belong over at ServerFault... – Jeff B Aug 31 '16 at 13:25
  • If you mean to disable verification for certain hosts in your client, something like https://stackoverflow.com/questions/19723415/java-overriding-function-to-disable-ssl-certificate-check/21103499#21103499 will work. – Anand Bhat Aug 31 '16 at 13:56

1 Answers1

0

It isn't. Hostname verification is part of HTTPS, not SSL.

user207421
  • 305,947
  • 44
  • 307
  • 483