From 0416180fb4764d36236b287e743110548fe85f91 Mon Sep 17 00:00:00 2001 From: Max Arnold Date: Wed, 9 Jun 2021 11:07:03 +0700 Subject: [PATCH] Use more conservative TLS settings to work on older .NET versions --- plugins/provisioners/salt/bootstrap-salt.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/provisioners/salt/bootstrap-salt.ps1 b/plugins/provisioners/salt/bootstrap-salt.ps1 index a2b11e538..f97ec6c6d 100644 --- a/plugins/provisioners/salt/bootstrap-salt.ps1 +++ b/plugins/provisioners/salt/bootstrap-salt.ps1 @@ -1,5 +1,5 @@ -# Powershell supports only TLS 1.0 by default. Add support for TLS 1.2 and TLS 1.3 -[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12,Tls13' +# Powershell supports only TLS 1.0 by default. Add support for TLS 1.2 +[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls12' # Define script root for PowerShell 2.0 $ScriptRoot = Split-Path $script:MyInvocation.MyCommand.Path