How to fix SSL cert issues in Pkg

Hmm, in the OP it states that setting JULIA_SSL_CA_ROOTS_PATH to the empty string doesn’t work, and I found the same thing.

I just learned that PowerShell unsets an env var if you set it to the empty string:

❯ $Env:JULIA_SSL_CA_ROOTS_PATH = ""

julia> ENV["JULIA_SSL_CA_ROOTS_PATH"]
ERROR: KeyError: key "JULIA_SSL_CA_ROOTS_PATH" not found

Here it is checked for the empty string: NetworkOptions.jl/src/ca_roots.jl at master · JuliaLang/NetworkOptions.jl