Преглед на файлове

Add fix for GitHub TLS 1.2 restriction

Douglas Thrift преди 6 години
родител
ревизия
c34229cf31
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      update_all.ps1

+ 5 - 0
update_all.ps1

@@ -71,6 +71,11 @@ $Options = [ordered]@{
     }
 }
 
+[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