Cannot install packages on Julia version 1.1.1 due to certificate validation failure

Hi ,
I’m new to Julia development and I’m trying to make some small programs in order to learn the language but I cannot install any package due to the error you can see below.
I’m at work and I use several IDE like Intellij or Pycharm and I had no problem to download libraries or plugins for those development environments.
What I can do to fix this problem?

(v1.1) pkg>  add Luxor
  Updating registry at `C:\Users\xyz\.juliapro\JuliaPro_v1.1.1.1\registries\JuliaPro`
┌ Warning: IOError(MbedTLS error code -9984: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed during request(https://pkg.juliacomputing.com/package/.yank.toml))
└ @ Pkg.Operations C:\Users\julia\AppData\Local\Julia-1.1.1\share\julia\stdlib\v1.1\Pkg\src\Operations.jl:485
  Updating git-repo `https://pkg.juliacomputing.com//registry/JuliaPro`
 Resolving package versions...
ERROR: Error when installing package Luxor:
IOError(MbedTLS error code -9984: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed during request(https://pkg.juliacomputing.com//package/ae8d54c2-7ccd-5906-9d76-62fc9837b5bc/1d98543f99661e5083f50771f25bdb828460a11f.tar.gz))

I figured out that is a problem of Atom included in JuliaPro. I have not found the solution yet

I was not able to reproduce this issue with a vanilla JuliaPro installation on a Windows system. However, I was able to reproduce this issue when I manually removed certificates of all the 4 SSL certificate issuers for pkg.juliacomputing.com from following file


<JuliaPro_installation_path>\JuliaPro-1.1.1.1\Julia-1.1.1\share\julia\stdlib\v1.1\MbedTLS\deps\cacert.pem

You can find the issuer names from following link: SSL Checker

Did you edit above file cacert.pem manually to remove certain entries? If not, please check “Windows Certificate Manager" to figure out if one of the 4 issuer is blocked on your system.

1 Like