I am trying to download Haskell using GHCup on a Windows 10 laptop. I copy and pasted this command in a Windows PowerShell window:
Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; try { Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $true } catch { Write-Error $_ }
I am receiving this error message when installing GHCup:
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
I have used google to search for this error message but had no luck finding any info to troubleshoot the Haskell stack installation.
I put the command script in the powershell with only my C:\>