Closed SinisterRectus closed 6 years ago
I've created a get-lit app at https://github.com/SinisterRectus/get-lit. I may expand it further to allow for other OSes and dynamic version handling.
Looks like this is the issue: https://stackoverflow.com/questions/41618766/powershell-invoke-webrequest-fails-with-ssl-tls-secure-channel
By default powershell uses TLS 1.0 the site security requires TLS 1.2
This works for me:
PowerShell -NoProfile -ExecutionPolicy unrestricted -Command "[Net.ServicePointManager]::SecurityProtocol = 'Tls12'; iex ((new-object net.webclient).DownloadString('https://github.com/luvit/lit/raw/master/get-lit.ps1'))"
Well that's interesting. I'll PR the change to luvit.io.
Been receiving a lot of reports about this, and I've now been able to reproduce it myself.