# How to make Pkg use specific SSL certificate for verifying servers? (General registry adding issue on work network | Windows)

**URL:** <https://discourse.julialang.org/t/how-to-make-pkg-use-specific-ssl-certificate-for-verifying-servers-general-registry-adding-issue-on-work-network-windows/63023>\
**Category:** Package Management\
**Tags:** question\
**Created:** [June 16, 2021, 2:57pm UTC](https://discourse.julialang.org/t/how-to-make-pkg-use-specific-ssl-certificate-for-verifying-servers-general-registry-adding-issue-on-work-network-windows/63023 "2021-06-16T14:57:31Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [June 23, 2021, 10:35am UTC](https://discourse.julialang.org/t/how-to-make-pkg-use-specific-ssl-certificate-for-verifying-servers-general-registry-adding-issue-on-work-network-windows/63023/15 "2021-06-23T10:35:17Z")

</div>

Okay, so perhaps downloading is just a red herring and the actual problem is unpacking the content? Can you try this:

```julia
using Pkg, Downloads

# 1. Download file. Does this work and give you a gzipped tarball?
# The sha256 sum of this file should be:
# 95e32e3b3f797373f5f618786e6fa535949dd5b53d0d6cd72eae098a4342ac02
# for reference.
file = Downloads.download("https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/60e2264e4b83c8920007abb1bc2440e990d108aa")

# 2. Unpack the tarball. Does this work and give you the expected registry
# tree in the tmp path returned?
Pkg.PlatformEngines.unpack(file, mktempdir())

```

Can you also try using the 1.7 beta ([Julia v1.7.0-beta2 is now available - #3 by giordano](https://discourse.julialang.org/t/julia-v1-7-0-beta2-is-now-available/63408/3)) or the nightly build ([Julia Downloads (nightly binaries)](https://julialang.org/downloads/nightlies/)). From Julia 1.7 Pkg does not unpack the registry (but does for packages still).

---

_[View the full topic](https://discourse.julialang.org/t/how-to-make-pkg-use-specific-ssl-certificate-for-verifying-servers-general-registry-adding-issue-on-work-network-windows/63023)._
