Hi, Has anyone successfully run Jenkins-cli.jar for https protocol?
I kept getting connection error from client side to Jenkins on https. Could anyone help me on this? My sincere appreciation. -> java -Djavax.net.ssl.trustStore=/tmp/jenkins2/jenkinskeystore.jks -Djavax.net.ssl.trustStorePassword=<password> -jar jenkins-cli.jar -s https://jenkins2.eng.proofpoint.com:8443 help Exception in thread "main" java.io.IOException: Failed to connect to https://jenkins2.eng.proofpoint.com:8443/ at hudson.cli.CLI.getCliTcpPort(CLI.java:266) at hudson.cli.CLI.<init>(CLI.java:126) at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72) at hudson.cli.CLI._main(CLI.java:466) at hudson.cli.CLI.main(CLI.java:382) Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:882) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1215) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1199) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:133) at hudson.cli.CLI.getCliTcpPort(CLI.java:264) ... 4 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:462) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863) ... 11 more * Where: o /tmp/jenkins2/jenkinskeystore.jks is a copy of /u/xbuild/.ssh/jenkinskeystore.jks from following server command. o <password> is same password as in the following server command o jar jenkins-cli.jar was extracted from /share/pub/build/jenkins2/bin/jenkins.war in the following server command o the following Jenkins server is running on Jenkins ver. 1.605. The server process: $ /etc/alternatives/java -Djava.awt.headless=true -server -Xms2048m -Xmx8192m -XX:PermSize=512m -XX:MaxPermSize=1024m -DJENKINS_HOME=/share/pub/build/jenkins2 -jar /share/pub/build/jenkins2/bin/jenkins.war --logfile=/share/pub/build/jenkins2/log/jenkins.log --webroot=/var/cache/jenkins/war --httpPort=-1 --httpsPort=8443 --httpsKeyStore=/u/xbuild/.ssh/jenkinskeystore.jks --httpsKeyStorePassword=<password> --ajp13Port=-1 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 $ hostname jenkins2.eng.proofpoint.com -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/14E16BAE45DBED4D8514D0C53BC00B86C019DD2C%40hq-mdb001.corp.proofpoint.com. For more options, visit https://groups.google.com/d/optout.