Last active
December 18, 2018 07:36
-
-
Save unjello/022ae914ea491466e8120490f08dabc7 to your computer and use it in GitHub Desktop.
Powershell to fix corporate proxy and SSL issues with certain tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(New-Object System.Net.WebClient).Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials | |
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls11 -bor [System.Net.SecurityProtocolType]::Tls12 -bor [System.Net.SecurityProtocolType]::Tls -bor [System.Net.SecurityProtocolType]::Ssl3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment