java.security.cert.CertificateException: No subject alternative DNS name matching localhost found.

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

    java.security.cert.CertificateException: No subject alternative DNS name matching localhost found

    Stack Overflow | 7 months ago | Surendra Mandava
    java.security.cert.CertificateException: No subject alternative DNS name matching localhost found.
  2. 0

    https web service consumer - MuleSoft

    mulesoft.com | 1 year ago
    java.security.cert.CertificateException: No subject alternative names present
  3. 0

    Mule - java.security.cert.CertificateException: No subject alternative names present

    Stack Overflow | 11 months ago | Balwant Chauhan
    java.security.cert.CertificateException: No subject alternative names present
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Consume HTTPS using mule

    Stack Overflow | 11 months ago | Saurabh Jhunjhunwala
    java.security.cert.CertificateException: No subject alternative names present
  6. 0

    WS play.ws.ssl.loose.disableHostnameVerification=true doesn't work?

    GitHub | 2 years ago | jxtps
    java.net.ConnectException: General SSLEngine problem

  1. rp 1 times, last 11 months ago
  2. poroszd 1 times, last 11 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 DNS name matching localhost found.

    at sun.security.util.HostnameChecker.matchDNS()
  2. Java RT
    HostnameChecker.match
    1. sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:204)
    2. sun.security.util.HostnameChecker.match(HostnameChecker.java:95)
    2 frames
  3. Java JSSE
    Handshaker$1.run
    1. sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:455)
    2. sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:436)
    3. sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:252)
    4. sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:136)
    5. sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496)
    6. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
    7. sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
    8. sun.security.ssl.Handshaker$1.run(Handshaker.java:919)
    9. sun.security.ssl.Handshaker$1.run(Handshaker.java:916)
    9 frames
  4. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  5. Java JSSE
    Handshaker$DelegatedTask.run
    1. sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1369)
    1 frame
  6. Grizzly
    SSLBaseFilter.handleRead
    1. org.glassfish.grizzly.ssl.SSLUtils.executeDelegatedTask(SSLUtils.java:247)
    2. org.glassfish.grizzly.ssl.SSLBaseFilter.doHandshakeStep(SSLBaseFilter.java:669)
    3. org.glassfish.grizzly.ssl.SSLFilter.doHandshakeStep(SSLFilter.java:330)
    4. org.glassfish.grizzly.ssl.SSLBaseFilter.doHandshakeStep(SSLBaseFilter.java:583)
    5. org.glassfish.grizzly.ssl.SSLBaseFilter.handleRead(SSLBaseFilter.java:304)
    5 frames
  7. Asynchronous Http Client
    SwitchingSSLFilter.handleRead
    1. com.ning.http.client.providers.grizzly.SwitchingSSLFilter.handleRead(SwitchingSSLFilter.java:74)
    1 frame
  8. Grizzly
    AbstractIOStrategy.fireIOEvent
    1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
    2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)
    3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
    4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)
    5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)
    6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
    7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)
    8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
    8 frames
  9. Mule HTTP Connector
    FlowWorkManagerIOStrategy$WorkerThreadRunnable.run
    1. org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy.run0(FlowWorkManagerIOStrategy.java:134)
    2. org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy.access$100(FlowWorkManagerIOStrategy.java:31)
    3. org.mule.module.http.internal.request.grizzly.FlowWorkManagerIOStrategy$WorkerThreadRunnable.run(FlowWorkManagerIOStrategy.java:157)
    3 frames
  10. Grizzly
    AbstractThreadPool$Worker.run
    1. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
    2. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
    2 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame