javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching suct2v420.it.mgt found

Jenkins JIRA | Choon Ming Goh | 1 year ago
  1. 0

    I'm currently using the swarm plugin to connect all my slaves to the master. However, whenever the Jenkins service on the master gets restarted, the Jenkins slave will remain offline. It will only come back online when I restart the jenkins swarm plugin process. {quote}Nov 11, 2015 10:06:32 AM org.apache.commons.httpclient.HttpMethodBase getResponseBody WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. Attempting to connect to https://suct2v420.it.mgt:8443/ 98ecac62-d76a-4734-9f9f-9350ee5b4e7d with ID c3c7e53b Could not obtain CSRF crumb. Response code: 404 javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching suct2v420.it.mgt found at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901) at sun.security.ssl.Handshaker.process_record(Handshaker.java:837) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:269) at hudson.plugins.swarm.SwarmClient.connect(SwarmClient.java:229) at hudson.plugins.swarm.Client.run(Client.java:106) at hudson.plugins.swarm.Client.main(Client.java:69) Caused by: java.security.cert.CertificateException: No name matching suct2v420.it.mgt found at sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:208) at sun.security.util.HostnameChecker.match(HostnameChecker.java:93) at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:347) at sun.security.ssl.AbstractTrustManagerWrapper.checkAdditionalTrust(SSLContextImpl.java:919) at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:886) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1428) ... 14 more Failed to establish JNLP connection to https://suct2v420.it.mgt:8443/ Retrying in 10 seconds{quote}

    Jenkins JIRA | 1 year ago | Choon Ming Goh
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching suct2v420.it.mgt found
  2. 0

    I'm currently using the swarm plugin to connect all my slaves to the master. However, whenever the Jenkins service on the master gets restarted, the Jenkins slave will remain offline. It will only come back online when I restart the jenkins swarm plugin process. {quote}Nov 11, 2015 10:06:32 AM org.apache.commons.httpclient.HttpMethodBase getResponseBody WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended. Attempting to connect to https://suct2v420.it.mgt:8443/ 98ecac62-d76a-4734-9f9f-9350ee5b4e7d with ID c3c7e53b Could not obtain CSRF crumb. Response code: 404 javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching suct2v420.it.mgt found at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1904) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:279) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:273) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1446) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:901) at sun.security.ssl.Handshaker.process_record(Handshaker.java:837) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:269) at hudson.plugins.swarm.SwarmClient.connect(SwarmClient.java:229) at hudson.plugins.swarm.Client.run(Client.java:106) at hudson.plugins.swarm.Client.main(Client.java:69) Caused by: java.security.cert.CertificateException: No name matching suct2v420.it.mgt found at sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:208) at sun.security.util.HostnameChecker.match(HostnameChecker.java:93) at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:347) at sun.security.ssl.AbstractTrustManagerWrapper.checkAdditionalTrust(SSLContextImpl.java:919) at sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:886) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1428) ... 14 more Failed to establish JNLP connection to https://suct2v420.it.mgt:8443/ Retrying in 10 seconds{quote}

    Jenkins JIRA | 1 year ago | Choon Ming Goh
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching suct2v420.it.mgt found
  3. 0

    [JIRA] [swarm-plugin] (JENKINS-31514) Jenkins Swarm slave goes remains offline after master restarts

    Google Groups | 1 year ago | choonm...@kpn.com (JIRA)
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching suct2v420.it.mgt found<br />
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Start Jenkins slave from Windows 7 while master is run with https protocol

    Google Groups | 2 years ago | BRatProofpoint
    javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative names present
  6. 0

    Extract public.key

    Stack Overflow | 1 year ago | user3185729
    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 name matching suct2v420.it.mgt found

    at sun.security.util.HostnameChecker.matchDNS()
  2. Java RT
    HostnameChecker.match
    1. sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:208)
    2. sun.security.util.HostnameChecker.match(HostnameChecker.java:93)
    2 frames
  3. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:347)
    2. sun.security.ssl.AbstractTrustManagerWrapper.checkAdditionalTrust(SSLContextImpl.java:919)
    3. sun.security.ssl.AbstractTrustManagerWrapper.checkServerTrusted(SSLContextImpl.java:886)
    4. sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1428)
    5. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209)
    6. sun.security.ssl.Handshaker.processLoop(Handshaker.java:901)
    7. sun.security.ssl.Handshaker.process_record(Handshaker.java:837)
    8. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1023)
    9. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
    10. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
    11. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
    11 frames
  4. Java RT
    HttpsURLConnectionImpl.connect
    1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)
    2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    3. sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
    3 frames
  5. Hudson :: Remoting Layer
    Launcher.parseJnlpArguments
    1. hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:269)
    1 frame
  6. hudson.plugins.swarm
    Client.main
    1. hudson.plugins.swarm.SwarmClient.connect(SwarmClient.java:229)
    2. hudson.plugins.swarm.Client.run(Client.java:106)
    3. hudson.plugins.swarm.Client.main(Client.java:69)
    3 frames