Server Error in '/' Application.

The request was aborted: Could not create SSL/TLS secure channel.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.

Source Error:


Line 20:     };
Line 21: 
Line 22:     string clientToken = gateway.ClientToken.generate();
Line 23: 
Line 24: }

Source File: d:\web sites\f13software.com\register.cshtml    Line: 22

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   Braintree.BraintreeService.GetXmlResponse(String URL, String method, Request requestBody) +1313
   Braintree.BraintreeService.Post(String URL, Request requestBody) +77
   Braintree.ClientTokenGateway.generate(ClientTokenRequest request) +162
   ASP._Page_register_cshtml.Execute() in d:\web sites\f13software.com\register.cshtml:22
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +99
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +182
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +107
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +142


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0