"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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content