Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to set jsse.enableSNIExtension to false

Tags:

java

I am trying to set jsse.enableSNIExtension property to false but each time when I try I get java manual.

java -Djsse.enableSNIExtension=false 

I had problem mentioned in here SSL handshake alert: unrecognized_name error since upgrade to Java 1.7.0

Any suggestion will be appreciated.

like image 642
mibzer Avatar asked Aug 14 '12 13:08

mibzer


2 Answers

Wicked late, but here:

System.setProperty ("jsse.enableSNIExtension", "false");
like image 134
jn1kk Avatar answered Nov 15 '22 06:11

jn1kk


Execute the following in command line to run Jenkins war file which is present in "c:\Jenkins"

java -Djsse.enableSNIExtension=false -jar c:\Jenkins\jenkins.war
like image 3
arvind123 Avatar answered Nov 15 '22 06:11

arvind123