Skip to content

Commit

Permalink
Merge pull request #4 from glennsarti/fix-tls
Browse files Browse the repository at this point in the history
(maint) Add workaround for Gist TLS Issue
  • Loading branch information
glennsarti authored Apr 25, 2018
2 parents 896f4d0 + aef6d8f commit edf4ce7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions update_all.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ $Options = [ordered]@{
}
}

# Workaround for https://github.com/majkinetor/au/issues/142
[System.Net.ServicePointManager]::SecurityProtocol = 3072 -bor
768 -bor
[System.Net.SecurityProtocolType]::Tls -bor
[System.Net.SecurityProtocolType]::Ssl3

if ($ForcedPackages) { Write-Host "FORCED PACKAGES: $ForcedPackages" }
$global:au_Root = $Root #Path to the AU packages
$global:info = updateall -Name $Name -Options $Options
Expand Down

0 comments on commit edf4ce7

Please sign in to comment.