"request:fail 发生了 SSL 错误无法建立与该服务器的安全连接。"
发布于 5 年前 作者 hyuan 19925 次浏览 来自 问答

“request:fail 发生了 SSL 错误,无法建立与该服务器的安全连接。”

android机子可以真机预览,ios机子报这个错误

10 回复

楼主解决了吗

主要是因为使用的sever2008  IIS7 默认使用的SSL2.0,而iOS微信需要使用TLS 1.2。

只要修改一下,启用server 2008 的TLS 1.2就可以了。

http://www.simapple.com/418.html

IIS服务器 ,更换支持的证书,有免费的也有收费的,下载证书然后倒入

然后新建一个.reg 的文件 例如新建一个  lucas_andot.reg文件,把下面代码黏贴进去,双击管理员执行就可以了,完美解决

Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Client]
 
"DisabledByDefault"=dword:00000000
 
"Enabled"=dword:00000000
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
 
"DisabledByDefault"=dword:00000000
 
"Enabled"=dword:00000001
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
 
"DisabledByDefault"=dword:00000000
 
"Enabled"=dword:00000001
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1]
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
 
"DisabledByDefault"=dword:00000000
 
"Enabled"=dword:00000001
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]
 
"DisabledByDefault"=dword:00000000
 
"Enabled"=dword:00000001

先用https://www.qcloud.com/product/ssl.html#userDefined10 测试一下是不是证书的问题,我们就是证书问题

刚看到评论,谢谢楼上的兄弟!

兄弟,我按照你提供的链接操作了,可还是不行,请帮我解决一下!谢谢

终于找到解决方法啦! 这个是正解:http://www.jb51.net/article/99159.htm

只要在__PowerShell__里面运行一下就行,重启机器!

楼主解决了吗?我也遇到同样问题

我也出现这个问题了,是tls的问题吗?

回到顶部