atlassian-cloud-backup icon indicating copy to clipboard operation
atlassian-cloud-backup copied to clipboard

Could not request SSL/TLS secure channel

Open PowellDean opened this issue 4 years ago • 0 comments

Running with .NET 4.5

Receive the following error: [Fatal] A fatal error occurred: "System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.

I am NOT a C# resource at all, but some googling gives me this:

If you have .NET 4.5, insert this line: ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

If you have another .NET version, insert this code: ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;

As mentioned, I am not a C# resource or I would update the code myself. Sorry -- If this were written in Smalltalk, Python, or Rust I could fork the code and create a pull request.

PowellDean avatar Jan 03 '20 20:01 PowellDean