Skip to content

Commit f590517

Browse files
author
Adam Nierzad
authored
Merge pull request #66 from can-anierzad/feat/client-tls
Make DeployClient use TLS 1.2
2 parents a28585a + db18d09 commit f590517

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)