# BADCERT\_NOT\_TRUSTED error while updating the Registry?

**URL:** <https://discourse.julialang.org/t/badcert-not-trusted-error-while-updating-the-registry/119040>\
**Category:** General Usage\
**Tags:** pkg, registry, general-registry\
**Created:** [September 4, 2024, 2:16pm UTC](https://discourse.julialang.org/t/badcert-not-trusted-error-while-updating-the-registry/119040 "2024-09-04T14:16:45Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![nandoconde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nandoconde/32/19497_2.png) [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Post date:** [September 6, 2024, 10:26am UTC](https://discourse.julialang.org/t/badcert-not-trusted-error-while-updating-the-registry/119040/17 "2024-09-06T10:26:04Z")

</div>

Yeah, I saw the message! I was testing.

It succeeded!

```julia
julia> using Pkg

julia> using Downloads: Downloads, Curl, download

julia> Downloads.EASY_HOOK[] = (easy, info) -> begin
       Curl.setopt(easy, Curl.CURLOPT_SSL_VERIFYPEER, false)
       end
#1 (generic function with 1 method)

julia> Pkg.update()
    Updating registry at `~/.julia/registries/General.toml`
  No Changes to `~/.julia/environments/v1.11/Project.toml`
  No Changes to `~/.julia/environments/v1.11/Manifest.toml`

```

---

_[View the full topic](https://discourse.julialang.org/t/badcert-not-trusted-error-while-updating-the-registry/119040)._
