国产探花免费观看_亚洲丰满少妇自慰呻吟_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"

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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 屏山县| 汽车| 临桂县| 鹤壁市| 房产| 渝北区| 商水县| 堆龙德庆县| 渑池县| 鄂伦春自治旗| 吴堡县| 东城区| 梁河县| 韶山市| 英德市| 资中县| 瓦房店市| 陈巴尔虎旗| 蒲城县| 资阳市| 十堰市| 涞水县| 进贤县| 兴山县| 特克斯县| 宜兰市| 曲周县| 修武县| 灌云县| 扶沟县| 石嘴山市| 湟中县| 西畴县| 怀宁县| 苍山县| 郁南县| 南丹县| 同德县| 阿城市| 新兴县| 高平市|