I just installed Julia 1.6.0 and was installing a basic set of packages when I got the error below when trying to install Plots.jl
(@v1.6) pkg> add Plots
Resolving package versions...
Downloaded artifact: XML2
Downloaded artifact: XML2
ERROR: Unable to automatically install 'XML2' from 'C:\Users\<username_redacted>\.julia\packages\XML2_jll\Slt3Q\Artifacts.toml'
Some Googling led me to similar error messages in an issue and a suggestion to try manually determining the underlying error using DebugArtifacts.jl. This resulted in a more meaningful error message:
Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
What is odd is that I do not get this error message in my Julia 1.5.2 installation. I am running this on a work laptop that uses a MITM SSL proxy so I’m guessing this has something to do with how local trusted root certificates are set up and new use of libcurl in Julia 1.6 for downloads. Does anyone know of a workaround for this issue? What’s rather odd is that this only happens for Artifact downloads…I would have thought this kind of certificate issue would have affected any HTTPS connection, but I am able to install “pure” Julia packages that don’t have any binary dependencies without any issues.