Julia 1.6 corporate firewall `could not download https://pkg.julialang.org/registries`

Perhaps:

ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "julialang.org"

or similar like

ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "pkg.julialang.org"

from this thread: