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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
