How can I force Pkg ( and LibGit2 ) to ignore SSL Verification (sslVerify)?

Hi,

I’m behind a corporate proxy and SSL Verifications fail ( because they are MITMed ). Outside of Julia I can clone by using the corporate proxy and specifying sslVerify = false in .gitconfig.

But apparently LibGit2 ignores sslVerify and instead expects the user to specify a callback.

I skimmed LibGit2.jl documentation and I see that you can provide a callback but:

  1. It needs to be a pointer, I have no idea what I’m doing
  2. How do I make Pkg use it anyway

Julia at work would make me happy :slight_smile:
Thanks !

1 Like

bump

I am encountering this too, and I noticed the following issue filed: https://github.com/JuliaLang/Pkg.jl/issues/2122