Handshake alert: unrecognized_name error

余生颓废 提交于 2019-12-03 07:01:08

I came across this when using the latest beta Charles 3.10b9 on 10.10. We fixed by using a similar method to Shade's answer:

I opened info.plist in Xcode and did the following:

Under the JVMOptions (as oppose to VMOptions) key add the string:

-Djsse.enableSNIExtension=false

Looks like this has more to do with a security improvement from Java 1.7 and server configuration than it does Charles. Can you confirm which JRM Charles is using? help -> about java

Here's an article about the same error message but after upgrading to Java 1.7:

http://www.pressingquestion.com/2030237/Ssl-Handshake-Alert-Unrecognized_name-Error-Since-Upgrade-To-Java-170

Do you need to use Charles for those sites throwing the error? You can disable SSL Proxying per site if not.

Add -Djsse.enableSNIExtension=false to the info.plist in the Contents folder for the Charles application. In:

<key>VMOptions</key>
<string>-Xmx512m -Djsse.enableSNIExtension=false</string>
Pdp

Try using command line from project's path:

mvn clean install -Djsse.enableSNIExtension=false
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!