diff --git a/bootstrap-salt.ps1 b/bootstrap-salt.ps1 index 747c74d..34c8984 100644 --- a/bootstrap-salt.ps1 +++ b/bootstrap-salt.ps1 @@ -99,6 +99,9 @@ Param( [string]$repourl= "https://repo.saltstack.com/windows" ) +# Powershell supports only TLS 1.0 by default. Add support up to TLS 1.2 +[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12' + #=============================================================================== # Script Functions #===============================================================================