How to fix SSL cert issues in Pkg

I struggled with this for a while, and found that removing environment variables:

  • SSL_CERT_FILE
  • JULIA_SSL_CA_ROOTS_PATH
    made things work. At the windows powershell prompt, these can be removed manually (and temporarily, for testing) with:
    Remove-Item Env:SSL_CERT_FILE
    Remove-Item Env:JULIA_SSL_CA_ROOTS_PATH
    If you find this works, you can then remove them from your personal environment variables.