You can also use a PowerShell command to save Internet pages on your computer and that on all Windows 11, 10, ... desktop and MS Server operating systems!
Example-1: Downloading an SSL encrypted page via HTTPS
PS C:\Users\Nenad>Invoke-WebRequest -Uri "https://example.com" -OutFile "C:\Test_file.txt"
If there is an error:
"The request was aborted: Could not create SSL / TLS secure channel."
Example-2: Download a non encrypted page via HTTP with timeout in seconds
PS C:\Users\Nenad>Invoke-WebRequest -Uri "http://example.com" -OutFile "C:\Test_file.txt" -TimeoutSec 10
Frequent error messages with HTTPS and SSL / TSL 1.3 / ...
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
Invoke-WebRequest: The request was aborted: Could not create SSL / TLS secure channel.
At line: 1 char: 1
+ Invoke-WebRequest -Uri "https: // www ..................
+ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo: InvalidOperation: (System.Net.HttpWebRequest: HttpWebRequest) [Invoke-WebRequest], WebExc
+ FullyQualifiedErrorId: WebCmdletWebRespandsException, Microsoft.PowerWebRespandsException, Microsoft .InvokeWebRequestCommand
PS C: \ Users \ Administrator>
The underlying connection was closed: A trust relationship could not be established for the protected SSL / TLS channel.
IF: 500 SSL negotiation failed: 500 SSL negotiation failed
If you visit your site and can not get the code 200 OK, it means that everything is fine on your server side. The problem lies with the online test tool as it doesn't support TLS 1.3, but Google, Bing and other crawlers and bots have no such restrictions as they are always informed about the latest technological advances. This is likely just an outdated / poorly maintained tool.
So no mistake!
FAQ 84: Updated on: 12 August 2021 18:18