Skip to content

Commit db18d09

Browse files
committed
Set deploy client to use TLS 1.2.
1 parent a28585a commit db18d09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DeployClient/API.cs

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class API
1616

1717
private static HttpClient BuildClient()
1818
{
19+
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
20+
1921
HttpClient client = new HttpClient()
2022
{
2123
BaseAddress = new Uri(new Uri(Program.Options.TargetUri), "DesktopModules/PolyDeploy/API/")

0 commit comments

Comments
 (0)