Merge pull request #52534 from twangboy/tls_support_2019.2

Add TLS support up to TLS 1.2
This commit is contained in:
Daniel Wozniak 2019-04-13 15:56:40 -07:00 committed by GitHub
commit e91240b439
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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