I'm just getting started with Elm, but there seems to be a conflict between
the tools and my environment :-(
I've run the Windows installer for v0.17 just fine but am having problems
when running the elm package install command. When I run it, I see the
following:
> elm package install
Some new packages are needed. Here is the upgrade plan.
Install:
elm-lang/core 4.0.1
Do you approve of this plan? (y/n)
Downloading elm-lang/core
Error: failed with 'TlsExceptionHostPort (HandshakeFailed (Error_Protocol
("certificate rejected: [InvalidSignature
SignatureInvalid]",True,CertificateUnknown))) "github.com" 443'
when sending request to
<https://github.com/elm-lang/core/zipball/4.0.1/>
If I use curl to check that URL:
> curl -v https://github.com/elm-lang/core/zipball/4.0.1/
* About to connect() to github.com port 443 (#0)
* Trying 192.30.252.130... connected
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS alert, Server hello (2):
* SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
* Closing connection #0
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
If I visit https://github.com/elm-lang/core/zipball/4.0.1/ in my browser I
can download elm-lang-core-4.0.1-0-g1562217.zip successfully, and I can
unzip and put the files in the correct places. But then I hit the same
stumbling block later when I try elm make :-(
I have managed to run elm package install on another Windows 7 machine not
behind a proxy, and this worked fine. So there seems to be some interaction
between Elm and the proxy causing this issue, but it's not clear to me
whether the problem is with Elm or with the proxy.
>From some searching it seems that maybe I need to add some certificate
details from my proxy into a certificate store that Elm uses. Can anyone
confirm that, and point me to any details on which certificate store Elm
uses (is it different from the one my browser uses?) and how to add new
certificates into it?
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.