"java.security.cert.CertificateException: No subject alternative names present" when accessing HTTPS using IP address

Solution Verified - Updated -

Issue

I have problem with SSL authentication to WAS webservice (client certificate) by application on JBoss.

java.security.cert.CertificateException: No subject alternative names present;
nested exception is javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present

Environment

  • Java

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.