Package fetch issues with internal SSL certificate

For those who might encounter this and don’t know what solution would be:
Julia downloaded as a binary package bundles its own certificate store and ignores the system store.

As of 1.4.2 this was found in ${JULIA_DIR}/share/julia/cert.pem – what you can do is move it out of the way like so
mv ${JULIA_DIR}/share/julia/cert.pem ${JULIA_DIR}/share/julia/cert.pem.bak
and then link system store
ln -s /etc/ssl/certs/ca-certificate.crt ${JULIA_DIR}/share/julia/cert.pem

Last command assumes ubuntu derivatives, on fedora 32 the certstore location is at /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem. Your distribution might differ too.

1 Like