Last active
December 24, 2017 12:13
-
-
Save guitarrapc/27073858ecb254aba5035ff063aea313 to your computer and use it in GitHub Desktop.
PowerShell v5.1 default still use ssl3 therefore many sites will reject connection. Use TLS12 instead.
This file contains hidden or 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
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12 | |
Invoke-WebRequest https://pawoo.net -UseBasicParsing -Method Get |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can escape issue by "strictly use TLS1.2 and later" or "Use PowerShell Core 6.0.0 rc.2 and higher"