握手警报:unrecognized_name 错误 [英] Handshake alert: unrecognized_name error

查看:156
本文介绍了握手警报:unrecognized_name 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Charles 3.7 来调试 SSL 连接.我能够查看大部分 HTTPS 连接,但是有 1 或 2 个站点在我尝试调试时返回SSLProtocol:握手警报:unrecognized_name",并且我无法在启用 Charles 的情况下加载该网站.我可以使用 Fiddler 做到这一点.有关如何解决此问题的任何想法?谢谢.

I am using Charles 3.7 to debug SSL connections. I was able to view most of the HTTPS connections, however there is 1 or 2 sites that returned "SSLProtocol: handshake alert: unrecognized_name" when I try to debug it, and I was unable to load the website with Charles on. I am able to do so using Fiddler. Any ideas on how to resolve this issue? Thanks.

推荐答案

我在 10.10 上使用最新的测试版 Charles 3.10b9 时遇到了这个问题.我们使用与 Shade 的回答类似的方法进行了修复:

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:

我在 Xcode 中打开 info.plist 并执行以下操作:

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

在 JVMOptions(与 VMOptions 相对)键下添加字符串:

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

-Djsse.enableSNIExtension=false

这篇关于握手警报:unrecognized_name 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆