SSL Poke connection issue ( Jenkins to Sonarqube ) -
i using jenkins 1.643 , sonarqube 5.1
while trying access sonarqube url via sslpoke jenkins server (with jdk 1.6), i'm getting below error
/usr/lib/jvm/jdk1.6.0_45/bin/java sslpoke sonarqube-b.test.com 443
java.io.eofexception: ssl peer shut down incorrectly @ com.sun.net.ssl.internal.ssl.inputrecord.read(inputrecord.java:462) @ com.sun.net.ssl.internal.ssl.sslsocketimpl.readrecord(sslsocketimpl.java:863) @ com.sun.net.ssl.internal.ssl.sslsocketimpl.performinitialhandshake(sslsocketimpl.java:1188) @ com.sun.net.ssl.internal.ssl.sslsocketimpl.writerecord(sslsocketimpl.java:654) @ com.sun.net.ssl.internal.ssl.appoutputstream.write(appoutputstream.java:100) @ com.sun.net.ssl.internal.ssl.appoutputstream.write(appoutputstream.java:114) @ sslpoke.main(sslpoke.java:31)**
the same working fine jkd 1.7
/usr/lib/jvm/jdk1.7.0_60/bin/java sslpoke sonarqube-b.test.com 443
successfully connected
java 6 ancient doesn't meet minimal security requirements on server side (e.g. ciphers not secure enough).
if want figure out why java closing connection on server side, add sonar.web.javaopts=-djavax.net.debug=all
sonar.properties, restart sonarqube server , (when using sslpoke
) inspect ssl handshake in server logs.
Comments
Post a Comment