SSL handshake alert: unrecognized_name error since upgrade to Java 1.7.0

前端 未结 17 2824
栀梦
栀梦 2020-11-22 06:35

I upgraded from Java 1.6 to Java 1.7 today. Since then an error occur when I try to establish a connection to my webserver over SSL:

javax.net.ssl.SSLProtoco         


        
17条回答
  •  悲哀的现实
    2020-11-22 07:09

    You cannot supply system properties to the jarsigner.exe tool, unfortunately.

    I have submitted defect 7177232, referencing @eckes' defect 7127374 and explaining why it was closed in error.

    My defect is specifically about the impact on the jarsigner tool, but perhaps it will lead them to reopening the other defect and addressing the issue properly.

    UPDATE: Actually, it turns out that you CAN supply system properties to the Jarsigner tool, it's just not in the help message. Use jarsigner -J-Djsse.enableSNIExtension=false

提交回复
热议问题