# 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:** 14

<div class="post-metadata">

### Author: ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)
#### Post date: [September 6, 2024, 10:23am UTC](https://discourse.julialang.org/t/badcert-not-trusted-error-while-updating-the-registry/119040/14 "2024-09-06T10:23:16Z")

</div>

Can you try the following:

```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()

```

---

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