From ba6c9512a375900e374891a6c59d67565b3d5f47 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Wed, 4 May 2022 16:30:11 +0200 Subject: [PATCH] [CI] Set TLS12 (#5482) --- images.CI/linux-and-win/create-release.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/images.CI/linux-and-win/create-release.ps1 b/images.CI/linux-and-win/create-release.ps1 index 72d0db4e1..f32974c2d 100644 --- a/images.CI/linux-and-win/create-release.ps1 +++ b/images.CI/linux-and-win/create-release.ps1 @@ -26,6 +26,7 @@ $headers = @{ Authorization = "Basic ${base64AuthInfo}" } +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityProtocolType]::Tls13 $NewRelease = Invoke-RestMethod $URL -Body $Body -Method "POST" -Headers $headers -ContentType "application/json" Write-Host "Created release: $($NewRelease._links.web.href)" \ No newline at end of file