BinaryProvider options to curl or wget

Putting my money where my mouth is I am trying to build a tarball of ffmeg on an ARM 64 system.
BinaryProvider finds curl as its first download engine.
As I am behind a proxy I then get
[09:28:40] curl: (60) SSL certificate problem: self signed certificate in certificate chain
How can I feed this option to curl: curl -k

I can define wget as the first binary provider using an ENV variable.
But similarly how do I feed it a parameter of --no-check-certificate

1 Like

Answering my own question I think alias curl=“curl -k” might do the trick

Yeah, we don’t really support passing arbitrary parameters like that (EDIT: I should say we could, and I’m not opposed to it, but in this particular instance, I’m not sure it’s the proper fix). I consider this solution to be rather wildly insecure; have you not installed your proxy’s root certificates into your system’s certificate store?

I also have this problem. I installed the proxy’s root certificate but seems unable to bypass some other obstacles…

Is there any way to set wget as the primary protocol/tool?

edit - I can’t download CMake.

edit2- Humm… I can launch th command outside Julia and then build CMake in Julia. Somehow, the .curlrc config file is not used by Julia.