Windows Server could not create SSL/TLS secure channel error

March 2023 · 3 minute read
keyboard coseup - Windows server could not create a ssl tls secure channel

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
  • Download DriverFix (verified download file).
  • Click Start Scan to find all problematic drivers.
  • Click Update Drivers to get new versions and avoid system malfunctionings.
  • If you encountered the error Windows server could not create SSL/TLS secure channel when trying to show a document in WebView on Office Web App Server, you are not the only one experiencing this issue.

    A great number of users have encountered the same issue. Some users encountered the same error when a request is being made to an https endpoint on Cloudflare.

    This issue can be extremely frustrating, and it will not allow you to create an SSL/TLS secure channel, so your server setup can not be completed accordingly.

    In this article, we will explore some of the best-proven methods to try out. Please follow the methods described in this article carefully in order to avoid causing issues.

    Here’s what to do to fix the Windows server could not create SSL/TLS secure channel error

    1. Set ServicePoint to TLS 1.2

    laptop on table front view - Windows server could not create a ssl/tls secure channel
    Some users have reported that setting the ServicePoint to TLS 1.2 solved their issue. Follow these steps to do so:

  • Find the global.asax file inside the root of your site.
  • Right-click it -> select View code.
  • You should be able to find an Application_Start method inside the file mentioned above.
  • Add these lines to the code to force TLS 1.2:
    namespace YourApplication {     public class WebApiApplication : System.Web.HttpApplication     {         protected void Application_Start()         {             //**Add these lines**             if (ServicePointManager.SecurityProtocol.HasFlag(SecurityProtocolType.Tls12) == false)             {                 ServicePointManager.SecurityProtocol = ServicePointManager.SecurityProtocol | SecurityProtocolType.Tls12;             }             //**Add these lines**             AreaRegistration.RegisterAllAreas();             GlobalConfiguration.Configure(WebApiConfig.Register);             FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);             RouteConfig.RegisterRoutes(RouteTable.Routes);             BundleConfig.RegisterBundles(BundleTable.Bundles);         }     } }
  • 2. Download the Security Advisor update manually

  • Visit this official Microsoft webpage.Security advisor update -windows server could not create ssl/tls secure channel
  • Scroll down to the bottom of the page -> download the installer that corresponds to the version of Windows you’re running.
  • Install it to your PC and check to see if the issue persists. If it does, please try the next method.
  • Windows Server 2008 and 2008 R2 end of support coming in July

    3. Enable SSL3 and TLS and add TLS 1.1 and TLS 1.2 inside the Registry Editor

    cup of coffee with laptop - windows server could not create a ssl tls secure channel
    To enable SSL3 and TLS follow these steps:

  • Access the App Server Instances -> select the server by using the left pane.
  • Click on HTTP Server and HTTP Server Listeners inside the left side of your screen.
  • Select the required HTTP listener.
  • Under the section SSL/TLS settings -> activate the options you require.
  • To add TLS 1.1 and TLS 1.2:

  • Press Win+R keys on your keyboard -> type in Regedit -> press Enter.
  • Navigate to the following location:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319.
  • Inside the right-side pane -> right click -> create new DWORD registry value.
  • Set the name to SchUseStrongCrypto, and set the value to 1.
  • Restart IIS (Internet Information Services).
  • Conclusion

    We hope that following the methods mentioned above have helped you fix the error Windows server could not create SSL/TLS secure channel.

    We would love to know if this guide helped you. Please feel free to let us know if it did, or if you have any suggestions, by leaving a comment under this article.

    ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGiuoqaUpMS0edKeqa%2BdomK7sMCMnKmemaSaerS%2Fy2arpatdmLWius2eo2g%3D