How to disable hostname verification in java ?
Issue
-
Is there any way to
disable hostname verification in Java
? -
We are observing
javax.net.ssl.SSLException: hostname in certificate didn't match
error in logs. Is there any way to overcome this error ?
Environment
- Java
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.