网页打开提示不安全,SSL证书提示不安全的解决办法

作者: 龙哥 分类: 技术 发布时间: 2022-12-16 11:17 ė218 次浏览

当网站启用SSL,用https打开网站时,某些浏览器会提示安全隐患的错误,但是有些浏览器却很正常,怎么解决?

之前也发过一篇文章:https访问仍旧提示安全隐患,IIS需要开启TLS1.2

解决办法:
复制以下代码保存在服务器里桌面上文件名SSL.REG,然后点击执行这个文件。然后重启下服务器,问题应该即可解决。

或者直接下载:https://pan.baidu.com/s/1y37zJxMRknfaio8ZstvR-A?pwd=jlwz

WINDOWS REGISTRY EDITOR VERSION 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS]
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\MULTI-PROTOCOL UNIFIED HELLO]
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\MULTI-PROTOCOL UNIFIED HELLO\CLIENT]
"ENABLED"=DWORD:00000000
"DISABLEDBYDEFAULT"=DWORD:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\MULTI-PROTOCOL UNIFIED HELLO\SERVER]
"ENABLED"=DWORD:00000000
"DISABLEDBYDEFAULT"=DWORD:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\PCT 1.0]
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\PCT 1.0\CLIENT]
"ENABLED"=DWORD:00000000
"DISABLEDBYDEFAULT"=DWORD:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\PCT 1.0\SERVER]
"ENABLED"=DWORD:00000000
"DISABLEDBYDEFAULT"=DWORD:00000001
[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:00000001
"ENABLED"=DWORD:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\SSL 2.0\SERVER]
"ENABLED"=DWORD:00000000
"DISABLEDBYDEFAULT"=DWORD:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\SSL 3.0]
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\SSL 3.0\CLIENT]
"ENABLED"=DWORD:00000000
"DISABLEDBYDEFAULT"=DWORD:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\SSL 3.0\SERVER]
"ENABLED"=DWORD:00000000
"DISABLEDBYDEFAULT"=DWORD:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\TLS 1.0]
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\TLS 1.0\CLIENT]
"ENABLED"=DWORD:00000001
"DISABLEDBYDEFAULT"=DWORD:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\SECURITYPROVIDERS\SCHANNEL\PROTOCOLS\TLS 1.0\SERVER]
"ENABLED"=DWORD:00000001
"DISABLEDBYDEFAULT"=DWORD:00000000
[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
[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]
"ENABLED"=DWORD:00000001
"DISABLEDBYDEFAULT"=DWORD:00000000

本文出自 俞凌龙博客,转载时请注明出处及相应链接。

本文永久链接: https://blog.jlwz.cn/363

Ɣ回顶部