100字范文,内容丰富有趣,生活中的好帮手!
100字范文 > 微信小程序在苹果上出现[request:fail 发生了 SSL 错误无法建立与该服务器的安全连

微信小程序在苹果上出现[request:fail 发生了 SSL 错误无法建立与该服务器的安全连

时间:2024-01-10 20:47:16

相关推荐

微信小程序在苹果上出现[request:fail 发生了 SSL 错误无法建立与该服务器的安全连

解决步骤:

1.运行regedit打开注册表

2.启用TLS1.2

进入[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]

找到TL2 1.1 和TLS 1.2 将里面Server和Client两项的值均改为

DisabledByDefault [值 = 0]

Enabled [值 = 1]

如果没有TLS1.1,TLS 1.2就新建

右键->新建->项->新建TLS 1.1,TLS 1.2

TLS 1.1和TLS 1.2 右键->新建->项->新建Server,Client

在新建的Server和Client中都新建如下的项(DWORD 32位值), 总共4个

3.禁用SSL2.0

将SSL 2.0->Client中的值均改为0

DisabledByDefault [值 = 0]

Enabled [值 = 0]

上面是手动更改注册表的方法。

也可以将以下代码新建文本文件, 后缀名改为.reg,然后双击自动导入

1 Windows Registry Editor Version 5.002 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]3 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Client]5 "DisabledByDefault"=dword:000000006 "Enabled"=dword:000000007 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]8 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]9 "DisabledByDefault"=dword:0000000010 "Enabled"=dword:0000000111 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]12 "DisabledByDefault"=dword:0000000013 "Enabled"=dword:0000000114 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1]15 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]16 "DisabledByDefault"=dword:0000000017 "Enabled"=dword:0000000118 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]19 "DisabledByDefault"=dword:0000000020 "Enabled"=dword:00000001

最后重启服务器,再进行域名检测

微信小程序在苹果上出现[request:fail 发生了 SSL 错误无法建立与该服务器的安全连接。]错误的解决方案

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。