windows2008R2 TSL1.0升级成1.2的解决方案
微信小程序 TLS 版本必须大于等于1.2问题解决
此问题最近在微信小程序开发中,比较常见。
在解决这个问题之前,我们需要了解一下,当前的系统环境是否支持TLS1.2以上,可以参考一下表格:
请先确认系统支持TLS1.2以后,进行一下操作:(如不支持请升级系统到支持版本)
windows2008R2在配置SSL做小程序开发时候提示小程序的TLS版本必须大于等于1.2。
解决方法:
请先备份导出HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols的值。如图:
将以下代码,保存到一个txt文件,然后修改后缀.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\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.csdn.net/kirawoo/article/details/78737242
windows2008R2 TSL1.0升级成1.2的解决方案相关推荐
- 跳过TPM 2.0检测无损在Win10的基础上升级成Windows 11
跳过TPM 2.0检测无损在Win10的基础上升级成Windows 11 情况要求 目前升级Windows 11的方法都是加入微软的预览体验计划 的dev推送渠道(可以看我关于这个的文章),我的基础版 ...
- 一直在构建版本_升级成2.0版本的自己,生活会有什么不一样
李笑来老师在<把时间当作朋友>的序言中有段话: 人们生活在同一个世界,却又各自生活在自己的那个版本之中,改变自己,就意味着属于自己那个版本的世界也会随之变化,其中包括时间的属性,当同样的时 ...
- 计算机usb接口更新,教大家电脑USB接口2.0怎么升级成3.0
近日有关于电脑USB接口2.0怎么升级成3.0的问题受到了很多网友们的关注,大多数网友都想要知道电脑USB接口2.0怎么升级成3.0的具体情况,那么关于到电脑USB接口2.0怎么升级成3.0的相关信息 ...
- emui11升级成鸿蒙os,华为EMUI11正式发布,今年12月可升级为鸿蒙OS2.0国产操作系统...
华为在昨天的HDC上正式发布了,华为手机的全新操作系统EMUI11,在系统界面和过渡动画方面有了很多的进步.同时还支持了多任务窗口缩放的功能,以及优化了多屏协同功能.当然昨天的发布上,EMUI11只占 ...
- 华为8xmax可以升级鸿蒙吗,无惧iPhone12,华为鸿蒙2.0操作系统成另一“王炸”
原标题:无惧iPhone12,华为鸿蒙2.0操作系统成另一"王炸" 这两天iPhone12的消息已经刷屏网络了,一年一度的科技春晚将于北京时间的9月16日凌晨1点正式开始.广大消费 ...
- android studio项目总结,android studio 3.0 升级 项目遇到的问题及更改思路(问题小结)...
Android Studio从3.0版本新增了许多功能,当然首当其冲就是从3.0版本新增了对 Kotlin 开发语言的支持,除此之外还有其他一些新功能,例如:Android Profiler (其中包 ...
- 鸿蒙2.0升级计划名单,鸿蒙OS 2.0适配 计划-升级名单
网上有传来鸿蒙OS 2.0适配计划相关的消息 ,那么在这款鸿蒙OS 2.0的更新中都会哪些机型适配呢,想知道的朋友快跟着小编来看看吧. 鸿蒙OS 2.0升级名单 第一批升级名单就是 Mate X2.M ...
- 刷机提示图像和设备不匹配_安卓5.0升级失败如何解决 安卓5.0刷机失败解决方法介绍【教程】...
安卓5.0升级失败怎么办?安卓5.0刷机失败急救方法?谷歌发布了适用于Nexus系列的Android 5.0系统,但是,刷安卓5.0系统时遇到system.img系统镜像找不到的错误提示是怎么回事? ...
- Kylin 2.0升级总结
文章转载,原文地址:https://blog.bcmeng.com/post/kylin-upgrade.html #6-给kylin社区的建议 引用于个人自查.学习 Kylin 2.0的升级节奏 升 ...
- Spring Boot 从1.0 升级到 2.0 所踩的坑
先给大家晒一下云收藏的几个数据,作为一个 Spring Boot 的开源项目(https://github.com/cloudfavorites/favorites-web)目前在 Github 上面 ...
最新文章
- 51单片机的工作寄存器R0~R7位于内部RAM什么位置
- Leetcode 173. 二叉搜索树迭代器 解题思路及C++实现
- Nginx配置实例-负载均衡实例:平均访问多台服务器
- JZOJ 3819. 【NOI2015模拟9.9】取石子
- LeetCode 963. 最小面积矩形 II
- python接口自动化(二十七)--html 测试报告——上(详解)
- Mitchell Baker:担任 Mozilla CEO 是我最艰难的职业
- ES6新特性之 promise
- .Net的文件格式(zz)
- 20162319莫礼钟 2016-2017-2 《程序设计与数据结构》第2周学习总结
- 实战HTML:模拟简书首页静态实现
- centos7修改命令行或图形界面启动模式
- L019-老男孩Linux高端运维课程-linux用户管理手把手深入实战
- GEE开发之Landsat_SR计算地表温度(不推荐)
- python battleship_codecademy的Python里的battleship报错
- 好好说话之Large Bin Attack
- RSD的面向任务有何不同——任务目录
- 自我鉴定300字大专计算机应用,业余大专自我鉴定300字(精选8篇)
- 数据中台推不动?手把手教你落地搭建!
- 淘宝商品详情API接口文档调用说明
热门文章
- Python下载qq音乐歌曲实例教程
- STEAM账号被盗(绑定QQ邮箱)的找回方法以及背后操作原理解析
- Py第四问 from test import test1 ImportError:cannot import name 'test1'
- ERDAS遥感影像处理-专题图制作
- 网络综合布线线缆如何敷设布放_网络线和综合布线施工技术交底
- 山重水复疑无路_最快下降问梯度(深度学习入门系列之七)
- 游戏本自动掉帧_实用 | 大夏天,如何解决卡顿掉帧?
- java listview用法_2.4.5 ListView简单实用
- 什么是本格推理?有什么推荐作品?
- 价值博客们--by 刘末鹏