# How to fix SSL cert issues in Pkg

**URL:** https://discourse.julialang.org/t/how-to-fix-ssl-cert-issues-in-pkg/115495
**Category:** General Usage
**Created:** [June 11, 2024, 4:34pm UTC](https://discourse.julialang.org/t/how-to-fix-ssl-cert-issues-in-pkg/115495 "2024-06-11T16:34:35Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![anthony\_827](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@anthony\_827](https://discourse.julialang.org/u/anthony_827)
#### Post date: [July 11, 2024, 6:27am UTC](https://discourse.julialang.org/t/how-to-fix-ssl-cert-issues-in-pkg/115495/3 "2024-07-11T06:27:59Z")

</div>

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.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-fix-ssl-cert-issues-in-pkg/115495)._
