com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present

incubator-ranger-user | Don Bosco Durai | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to download a directory from a password protected URL over https?

    Stack Overflow | 2 years ago | Suraj HK
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
  2. 0

    Disable hostname verifier in servlet with CAS

    Stack Overflow | 2 years ago | Robert
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present In the future I'll receive a proper certificate, but until then I want to disable this hostname verifier, for testing. I know I should @Override some code, but I don't know how and where to do this in my servlet which connects to CAS through filters that are in web.xml. Currently my servlet just Overrides doGET method to print something that I should receive from CAS. Can someone help me, please? Thank you in advance. UPDATE: This is the exact error that I see in logs ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/casuser].[cas]] (http-localhost-127.0.0.1-8080-1) Servlet.service() for servlet cas threw exception: java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
  3. 0

    Extract public.key

    Stack Overflow | 2 years ago | user3185729
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Deploy EAR with Jenkins on Glassfish

    Stack Overflow | 2 years ago | Aroniaina
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
  6. 0

    CAS - Pac4J - SSLHandshakeException

    Stack Overflow | 1 year ago | bryla33
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present

  1. rp 1 times, last 1 year ago
  2. poroszd 1 times, last 1 year ago
14 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.security.cert.CertificateException

    No subject alternative names present

    at sun.security.util.HostnameChecker.matchIP()
  2. Java RT
    HostnameChecker.match
    1. sun.security.util.HostnameChecker.matchIP(HostnameChecker.java:142)
    2. sun.security.util.HostnameChecker.match(HostnameChecker.java:91)
    2 frames