Perhaps:
ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "julialang.org"
or similar like
ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "pkg.julialang.org"
from this thread: