Skip to content

Commit a7e5418

Browse files
committed
enforce TLS1.2 on install
1 parent 1f1d5b6 commit a7e5418

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

install/install.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
2+
13
# Create a temporary folder to download to.
24
$tempFolder = Join-Path $env:TEMP "dotnet-script"
35
New-Item $tempFolder -ItemType Directory -Force

0 commit comments

Comments
 (0)