java 如何将 jsse.enableSNIExtension 设置为 false

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11953032/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 07:03:52  来源:igfitidea点击:

how to set jsse.enableSNIExtension to false

java

提问by mibzer

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

我试图将 jsse.enableSNIExtension 属性设置为 false 但每次我尝试时都会获得 java 手册。

java -Djsse.enableSNIExtension=false 

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

我在此处提到了SSL 握手警报中的问题:unrecognized_name error since upgrade to Java 1.7.0

Any suggestion will be appreciated.

任何建议将不胜感激。

回答by jn1kk

Wicked late, but here:

邪恶的迟到了,但在这里:

System.setProperty ("jsse.enableSNIExtension", "false");

回答by arvind123

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

在命令行中执行以下命令以运行“c:\Jenkins”中的 Jenkins War文件

java -Djsse.enableSNIExtension=false -jar c:\Jenkins\jenkins.war