国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > JavaScript > 正文

微信小程序 Windows2008 R2服務器配置TLS1.2方法

2019-11-19 18:39:48
字體:
來源:轉載
供稿:網友

微信小程序 Windows2008 R2服務器配置TLS1.2方法

微信小程序免費SSL證書https、TLS版本問題的解決方案《二十四》request:fail錯誤(含https解決方案)(真機預覽問題把下面的代碼復制到PowerShell里運行一下,然后重啟服務器。# Enables TLS 1.2 on ...

請首先閱讀本文:

微信小程序免費SSL證書https、TLS版本問題的解決方案《二十四》request:fail錯誤(含https解決方案)(真機預覽問題

把下面的代碼復制到PowerShell里運行一下,然后重啟服務器。

# Enables TLS 1.2 on windows Server 2008 R2 and Windows 7# These keys do not exist so they need to be created prior to setting values.md "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2"md "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Server"md "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Client"# Enable TLS 1.2 for client and server SCHANNEL communicationsnew-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Server" -name "Enabled" -value 1 -PropertyType "DWord"new-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Server" -name "DisabledByDefault" -value 0 -PropertyType "DWord"new-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Client" -name "Enabled" -value 1 -PropertyType "DWord"new-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Client" -name "DisabledByDefault" -value 0 -PropertyType "DWord"# Disable SSL 2.0 (PCI Compliance)md "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/SSL 2.0/Server"new-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/SSL 2.0/Server" -name Enabled -value 0 -PropertyType "DWord"# Enables TLS 1.2 on Windows Server 2008 R2 and Windows 7 # These keys do not exist so they need to be created prior to setting values. md "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2" md "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Server" md "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Client" # Enable TLS 1.2 for client and server SCHANNEL communications new-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Server" -name "Enabled" -value 1 -PropertyType "DWord" new-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Server" -name "DisabledByDefault" -value 0 -PropertyType "DWord" new-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Client" -name "Enabled" -value 1 -PropertyType "DWord" new-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/TLS 1.2/Client" -name "DisabledByDefault" -value 0 -PropertyType "DWord" # Disable SSL 2.0 (PCI Compliance) md "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/SSL 2.0/Server" new-itemproperty -path "HKLM:/SYSTEM/CurrentControlSet/Control/SecurityProviders/SCHANNEL/Protocols/SSL 2.0/Server" -name Enabled -value 0 -PropertyType "DWord"

感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 阳曲县| 弥勒县| 南投县| 大冶市| 县级市| 和林格尔县| 谷城县| 海晏县| 连南| 满洲里市| 柘城县| 隆安县| 平远县| 宜都市| 大洼县| 昌吉市| 濮阳县| 报价| 思茅市| 宝丰县| 临洮县| 旌德县| 喀什市| 盘锦市| 启东市| 三台县| 瑞丽市| 霍城县| 清原| 牡丹江市| 邹城市| 仙游县| 叶城县| 石狮市| 瑞丽市| 峨山| 漠河县| 上杭县| 沾益县| 临洮县| 大足县|