Skip to content

Commit

Permalink
Add TLS support up to TLS 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Apr 12, 2019
1 parent 6eb2bce commit 9ec54c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/windows/modules/download-module.psm1
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9ec54c4

Please sign in to comment.