mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #52534 from twangboy/tls_support_2019.2
Add TLS support up to TLS 1.2
This commit is contained in:
commit
e91240b439
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
# 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'
|
||||
|
||||
Function DownloadFileWithProgress {
|
||||
|
||||
# Code for this function borrowed from http://poshcode.org/2461
|
||||
|
|
Loading…
Add table
Reference in a new issue