Closed weust1979 closed 4 years ago
This is weird. What happens if you try the following:
Invoke-WebRequest -Uri 'https://github.com' -UseBasicParsing;
A second test would be this:
[Net.ServicePointManager]::SecurityProtocol = "tls12, tls11";
Invoke-WebRequest -Uri 'https://github.com' -UseBasicParsing;
Does any of these requests work? Is it possible that you have a proxy between GitHub and your machine?
The second one works, the first one shows the same error as before.
No proxy is used. Just NAT.
Could you please test the latest version of the PowerShell Framework for this? This issue should be - as far as I can tell - be fixed in #41
Install-Module -Name icinga-powershell-plugins works fine. Seperate server, even had to install NuGet Provider (the command asked to install it for me). Thanks!
On Windows Server 2012 (non-R2) running PS 5.1 I get the following error message after executing Install-IcingaFrameworkPlugins (ran after Install-Module icinga-powershell-plugins and Use-Icinga).
As far as I know Invoke-Webrequest can handle SSL/TLS. I use it in a couple of my own scripts running on the server.