Has anyone successfully started Jenkins slave via ‘Launch slave agents via Java 
Web Start’ when master is running in https protocol?

We are running Jenkins 1.568 on Linux Centos 5.5.

Jenkins suggested the following command to run on slave machine, but I think 
it’s lack of the cert key. Has anyone successfully done this? Thanks.

->java -jar slave.jar -jnlpUrl https://<master>:8080/hudson/computer/<slave>/s
lave-agent.jnlp -secret 
9344091d1e0c6b2582d277761105f8380f799bc318cce577480c9aeaf31b0309
Exception in thread "main" javax.net.ssl.SSLHandshakeException: 
java.security.cert.CertificateException: No subject alternative names present
        at sun.security.ssl.Alerts.getSSLException(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
        at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
        at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
        at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
        at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
        at sun.security.ssl.Handshaker.processLoop(Unknown Source)
        at sun.security.ssl.Handshaker.process_record(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown 
Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown 
Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown 
Source)
        at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:245)
        at hudson.remoting.Launcher.run(Launcher.java:207)
        at hudson.remoting.Launcher.main(Launcher.java:180)
Caused by: java.security.cert.CertificateException: No subject alternative 
names present
        at sun.security.util.HostnameChecker.matchIP(Unknown Source)
        at sun.security.util.HostnameChecker.match(Unknown Source)
        at sun.security.ssl.X509TrustManagerImpl.checkIdentity(Unknown Source)
        at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
        at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown 
Source)
        ... 14 more

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to