[resolution] The TLS version required by the applet must be greater than or equal to 1.2

Source: Internet
Author: User

Today small program found Wx.request bad, debug error: The TLS version required by the applet must be greater than or equal to 1.2

Check official documents

Workaround

Run the following in PowerShell, and then restart the server

# Enables TLS1.2On Windows Server -R2 and Windows7# these keys DoNot exist so they need to being 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 TLS1.2  forclient and server SCHANNEL communicationsNew-itemproperty-path"Hklm:\system\currentcontrolset\control\securityproviders\schannel\protocols\tls 1.2\Server"-name"Enabled"-value1-propertytype"DWord"New-itemproperty-path"Hklm:\system\currentcontrolset\control\securityproviders\schannel\protocols\tls 1.2\Server"-name"Disabledbydefault"-value0-propertytype"DWord"New-itemproperty-path"Hklm:\system\currentcontrolset\control\securityproviders\schannel\protocols\tls 1.2\Client"-name"Enabled"-value1-propertytype"DWord"New-itemproperty-path"Hklm:\system\currentcontrolset\control\securityproviders\schannel\protocols\tls 1.2\Client"-name"Disabledbydefault"-value0-propertytype"DWord"# Disable SSL2.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-value0-propertytype"DWord"# enables TLS1.2On Windows Server -R2 and Windows7# these keys DoNot exist so they need to being 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 TLS1.2  forClient and server SCHANNEL communicationsNew-itemproperty-path"Hklm:\system\currentcontrolset\control\securityproviders\schannel\protocols\tls 1.2\Server"-name"Enabled"-value1-propertytype"DWord" New-itemproperty-path"Hklm:\system\currentcontrolset\control\securityproviders\schannel\protocols\tls 1.2\Server"-name"Disabledbydefault"-value0-propertytype"DWord" New-itemproperty-path"Hklm:\system\currentcontrolset\control\securityproviders\schannel\protocols\tls 1.2\Client"-name"Enabled"-value1-propertytype"DWord" New-itemproperty-path"Hklm:\system\currentcontrolset\control\securityproviders\schannel\protocols\tls 1.2\Client"-name"Disabledbydefault"-value0-propertytype"DWord"# Disable SSL2.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-value0-propertytype"DWord"

Reference: http://henkuai.com/thread-16648-1-1.html

The TLS version required by the

[Resolve] applet must be greater than or equal to 1.2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.