Well I am back with quick post, I just build up a new machine and trying to install SharePointPnPPowerShellOnline. I came across the series of errors, the first bit was “Unable to download from URL” and later “Unable to download the list of available providers. Check your internet connection”.
This new machine got the internet working, so i googled and after couple of blogs, i found a detailed post.
I won’t go in to the details , but the meat of the Issue is the “PowerShell 5.1 defaults to only enabling SSL3 and TLS 1.0 for secure HTTP connections”
So i ran the following command and i am able get through with my commands.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Hopefully it would resolve your issue as well.