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
  1. 0

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

    Stack Overflow | 1 year 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 | 1 year 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 | 1 year 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 | 1 year ago | Aroniaina
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
  6. 0

    CAS - Pac4J - SSLHandshakeException

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

  1. rp 1 times, last 8 months ago
  2. poroszd 1 times, last 9 months 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