Julia 1.6 other libcurl download issues

This is the problem here.
It can be caused for example by aggressive Anti Virus Tools which reroot network traffic over a local man-in-the-middle proxy to be able to scan the network traffic even if encrypted. Or by not so well configured corporate proxys.

There is a Curl option --ssl-no-revoke for cases like this, but I don’t know how to inject this option into the download system of Julia.
It is something like:

using Pkg, Downloads
easy=Downloads.Curl.Easy()
Downloads.Curl.setopt(easy,Downloads.Curl.CURLOPT_PROXY_SSL_OPTIONS,Downloads.Curl.CURLSSLOPT_NO_REVOKE)
Pkg.add("Plots")

It’s worth a try @neophytedave but I don’t expect this to work.

Perhaps @StefanKarpinski can give a hint if it is possible to set this option before using add or download ?

Or is it possible to set curl options in a user .curl file?

Create a file .curlrc in your home folder (C:\Users\vhaglasmithdi)

add a line with
ssl-no-revoke
in the file.

Answer is No for libcurl, see below.

As already pointed out by Stephan There, libcurl does not answer to .curlrc files. Also you can look at the thread for details on what we already tried in this schanel issue.

Setting Julia_ssl_no_verify AND giving http_proxy and https_proxy according to your corporate proxy should solve the issue, as reported on the accompanying GitHub issue that we files the other day There.

The environnement variable to avoid verifying hosts + the http & https credentials of your proxy should be enough to get rid of this schanel issue.

Make it use the libcurl packaged with Julia. This works for me

export LD_LIBRARY_PATH="/opt/julia-1.6.7/lib/julia:$LD_LIBRARY_PATH"