Pkg.add() fails on 0.6.2 in Linux with certificate error behind proxy

Hi, I think we have something going on with our corporate proxy sever. I can’t do Pkg.add for any package any more.

Pkg.add("MXNet")

gives the following error:

X509 - Certificate verification failed, e.g. CRL, CA or signature check failed

but from the terminal,
git clone https://github.com/dmlc/MXNet.jl.git

with sslVerify=false specified in .gitconfig works.

I know sslVerify=false is not an ideal solution – but I can’t use git clone at all through https otherwise. What is the equivalent I have to do for Pkg in julia?

This is possibly related to an issue I have:
https://discourse.julialang.org/t/pkg-update-throws-an-error/10797