I'm having trouble installing and configuring Leiningen on a Windows 10 work computer. I'm assuming that my company's firewall prevents the GitHub security certificate from authenticating.
The error I'm getting is:
Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create SSL/TLS secure channel." At line:1 char:145 + ... che]::DefaultNetworkCredentials; $client.DownloadFile($a, $f)} "https ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : WebException
Failed to download https://github.com/technomancy/leiningen/releases/download/2.8.1/leiningen-2.8.1-standalone.zip
It is possible that the download failed due to "powershell", "curl" or "wget"'s inability to retrieve GitHub's security certificate. The suggestions below do not check certificates, so use this only if you understand the security implications of not doing so.
The PowerShell failed to download the latest Leiningen version. Try to use "curl" or "wget" to download Leiningen by setting up the HTTP_CLIENT environment variable with one of the following values:
- set HTTP_CLIENT=wget --no-check-certificate -O
- set HTTP_CLIENT=curl -f -L -k -o
NOTE: Make sure to not add double quotes when setting the value of HTTP_CLIENT