mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 01:30:21 +00:00
Merge pull request #1342 from saltstack/tls_support_stable
Add tls support for version 1.2
This commit is contained in:
commit
fb7115f3df
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
#===============================================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue