java.io.IOException: The https URL hostname does not match the Common Name (CN)
Issue
The following error appears in the logs:
java.io.IOException: The https URL hostname does not match the Common Name (CN) on the server certificate in the client's truststore. Make sure server certificate is correct, or to disable this check (NOT recommended for production) set the CXF client TLS configuration property "disableCNCheck" to true.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- JBoss WS CXF stack
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.