确认当前服务器系统环境

windows2008R2在配置SSL做小程序开发时候提示小程序的TLS版本必须大于等于1.2。当前的系统环境支持如下:

检测你的域名是否安装SSL/TLS

你的域名是否允许https协议访问以及TLS1.2是都被开启,可通过下列网站做验证:
https://www.getssl.cn/sslchecker

Windows Server 2008 R2 添加对TLS1.2的支持

首先打开服务器组策略,命令行输入gpedit.msc,找到ssl配置设置,双击ssl密码套件顺序,选择已启用,并保存。准备工作完成!

将下列代码保存到后缀名为“.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

文件执行后,通过快捷键Win+R,在命令框中输入regedit 打开注册表。
打开以下目录:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols
如果看到的结果与下列截图一致,则表示注册表添加成功,TLS1.2已经添加支持。

注意:服务器需要重启才能生效。

【服务器】 Windows Server 2008 R2 配置HTTPS TLS1.2相关推荐

  1. Windows Server 2008 R2 配置笔记,密码设置为任意长度,远程桌面终端连接数的设置...

    图片显示不完全时,可在新标签页打开. Windows Server 2008 R2 配置{     安装企业版(Enterprise Editon),因为企业版功能全面,并且比数据中心版更容易配置{ ...

  2. [服务器]Windows server 2008 R2远程桌面授权破解方法

    Windows server 2008 R2远程桌面授权破解方法  从Windows 2008 R2开始,windows 2008 r2的终端服务器已经更改为远程桌面服务器,但windows 2008 ...

  3. Windows Server 2008 R2 配置AD(Active Directory)域控制器(图文教程)

    配置环境 Windows版本:Windows Server 2008 R2 Enterprise Service Pack 1 系统类型: 64 位操作系统 配置DNS服务器 这一步不是必须的,在安装 ...

  4. 架设域控服务器,windows server 2008 R2 enterprise AD域控服务器安装

    前言 对于将要安装成为DC的服务器来讲,其系统配置以及基本的磁盘规划在此就不在累述了,但是关键的网络连接属性是必须要注意的.可以通过打开本地连接的属性来进行配置其IP属性.作为服务器DC的IP地址一定 ...

  5. nc361t支持的服务器,Windows Server 2008 R2通过IP安全策略阻止某个IP

    这篇文章主要为大家详细介绍了Windows Server 2008 R2通过IP安全策略阻止某个IP,具有一定的参考价值,感兴趣的小伙伴们可以参考一下,有需要的朋友可以收藏方便以后借鉴. 最近网站访问 ...

  6. Windows server 2008 R2 配置DC域控服务并为用户设置统一桌面壁纸

    实验前提: AD域服务器,使用静态IP地址,DNS地址与IP地址相同 如果先新建的DHCP服务器,在建完AD后对DHCP服务器添加授权,保证服务器与客户端能彼此互通 实验步骤: 域控AD服务器 1.服 ...

  7. 基于windows server 2008 web服务器的性能,使用Windows Server 2008 R2理由_服务器评测与技术-中关村在线...

    四.使用Windows Server 2008 R2理由 Windows Server 2008 R2的设计目标是在同样的硬件基础上获得与Windows Server 2008相同或更好的性能.另外, ...

  8. Windows Server 2008 R2部署active directory服务器

    我都是在vm虚拟机上进行的以下实验 active directory服务器: Windows server 2008 R2 标准版 首先配置虚拟机的网络环境为nat模式,取消nat网络连接的本地dhc ...

  9. Windows server 2008 R2搭建主域控制器 + 辅域控制器

    一:实验模拟环境: Zhuyu公司是一个小公司,随着公司状大,公司越来越重视信息化建设,公司考虑到计算机用户权限集中管理及共享资源同步管理, 需要架设一套AD域控服务器,考虑到成本和日后管理问题,计划 ...

  10. 升级域控制器:向现有域添加 Windows Server 2008 或 Windows Server 2008 R2 域控制器的 Microsoft 支持快速入门...

    1(共 1)对本文的评价是有帮助 - 评价此主题 更新时间: 2011年11月 应用到: Windows Server 2008, Windows Server 2008 R2 本主题介绍将域控制器升 ...

最新文章

  1. iOS7的界面上移问题
  2. [原]《Web前端开发修炼之道》-读书笔记CSS部分
  3. ubuntu 安装SSH并设置免密码登录
  4. python元类的概念_Python中的元类编程 | 学步园
  5. Python中的包以及跨目录访问变量和函数(同级目录)
  6. 利用css制作3d图片旋转_练习
  7. 16、React系列之 React 路由
  8. Helm 3 完整教程(三):chart 的文件结构和字段详解
  9. 手机怎么往服务器传文件,windows怎么用指令给手机传文件
  10. python自动生成报告_python实现自动生成oracle awr报告
  11. Go 标准库介绍五: io
  12. PinPhp项目目录结构
  13. Sigfox被NB-IoT招安?这只是其成为物联网Uber的一个路径
  14. 17届华为杯数学建模大赛B题代码
  15. java sockets_Java Sockets
  16. 2021年 遥感图像目标检测SOTA模型及排行榜
  17. freemaker导出Excel文件用WPS能打开,而用office打不开
  18. windows7隐藏桌面计算机,教你win7小技巧之隐藏桌面图标
  19. 如何使用mysql数据库做网站_php小型数据库(不用mysql做网站)
  20. AutoLeaders控制组——51单片机学习笔记(DS18B20温度传感器、LCD1602、直流电机+PWM)

热门文章

  1. 最详细的Pycharm使用技巧 2020.06.06
  2. linux监控工具 go实现,安装和使用gotop进行Linux系统进程监控的方法
  3. GoTop给网站加一个悬挂猫效果上吊猫
  4. LigerUi的Form表单展示
  5. html 毛笔书写效果,利用canvas实现毛笔字帖(三)
  6. 山东农业大学/基础训练5
  7. SpringMVC -- Restful风格的API
  8. [html+css+js] 小米官网首页制作
  9. 天大《电子商务网站设计与管理》大作业期末考核
  10. Java工程师的职业规划(最全版本)