SSL certificate verify failed

It doesn’t appear to be a problem on my local Windows 8.1 dev machine but I am getting a SSL_CERTIFICATE_FAILED error during builds on Windows…


Error reading from <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>

WARNING: ** If behind a firewall without direct internet access, use the http_proxy environment variable (e.g. "env mx ...") or download manually with a web browser.

The command "mx build" failed and exited with 1 during .

AFAICS you are downloading JDK yourself, from some 3rd-party source. So it’s your job to make sure it has the necessary SSL root certificate bundle. Maybe you’ll need to consult that 3rd party on how their JDK packaging is supposed to be used.

As a workaround while you are figuring that out, you can instruct Maven to use HTTP instead of HTTPS as per

1 Like

Turns out it was actually a Python issue. This solved it for me…

$ cd $HOME
$ wget --quiet
$ export SSL_CERT_FILE=$HOME/cacert.pem