# RequestError: schannel: failed to open CA file 'C:\\ProgramDatanaconda3\_2024\_10\_1\\Library\\ssl': Unknown error 123 (0x0000007B

**URL:** <https://discourse.julialang.org/t/requesterror-schannel-failed-to-open-ca-file-c-programdatanaconda3-2024-10-1-library-ssl-unknown-error-123-0x0000007b/131130>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 28, 2025, 12:43pm UTC](https://discourse.julialang.org/t/requesterror-schannel-failed-to-open-ca-file-c-programdatanaconda3-2024-10-1-library-ssl-unknown-error-123-0x0000007b/131130 "2025-07-28T12:43:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dk-zen](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Post date:** [July 28, 2025, 12:43pm UTC](https://discourse.julialang.org/t/requesterror-schannel-failed-to-open-ca-file-c-programdatanaconda3-2024-10-1-library-ssl-unknown-error-123-0x0000007b/131130/1 "2025-07-28T12:43:07Z")

</div>

When I updated the Julia library, I encountered an error. However, it was working fine before. Has anyone encountered such a problem?

```julia-auto
julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd4843 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 22 × Intel(R) Core(TM) Ultra 7 155H
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 22 virtual cores)
Environment:
  JULIA_PKG_SERVER = https://mirrors.pku.edu.cn/julia

(@v1.10) pkg> up
┌ Warning: could not download https://mirrors.pku.edu.cn/julia/registries
│ exception = RequestError: schannel: failed to open CA file 'C:\ProgramDatanaconda3_2024_10_1\Library\ssl': Unknown error 123 (0x0000007B) while requesting https://mirrors.pku.edu.cn/julia/registries
└ @ Pkg.Registry C:\Users\whkdi\AppData\Local\Programs\Julia-1.10.4\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:69
    Updating registry at `C:\Users\whkdi\.julia\registries\General.toml`
┌ Warning: could not download https://mirrors.pku.edu.cn/julia/registries
│ exception = RequestError: schannel: failed to open CA file 'C:\ProgramDatanaconda3_2024_10_1\Library\ssl': Unknown error 123 (0x0000007B) while requesting https://mirrors.pku.edu.cn/julia/registries
└ @ Pkg.Registry C:\Users\whkdi\AppData\Local\Programs\Julia-1.10.4\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:69
     Cloning [6fe1bfb0-de20-5000-8ca7-80f57d26f881] OffsetArrays from https://github.com/JuliaArrays/OffsetArrays.jl.git
ERROR: failed to clone from https://github.com/JuliaArrays/OffsetArrays.jl.git, error: GitError(Code:ERROR, Class:SSL, Your Julia is built with a SSL/TLS engine that libgit2 doesn't know how to configure to use a file or directory of certificate authority roots, but your environment specifies one via the SSL_CERT_FILE variable. If you believe your system's root certificates are safe to use, you can `export JULIA_SSL_CA_ROOTS_PATH=""` in your environment to use those instead.)

```

---

<div class="post-metadata">

**Author:** ![tomaklutfu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomaklutfu/32/2411_2.png) [@tomaklutfu](https://discourse.julialang.org/u/tomaklutfu)\
**Post date:** [July 28, 2025, 12:57pm UTC](https://discourse.julialang.org/t/requesterror-schannel-failed-to-open-ca-file-c-programdatanaconda3-2024-10-1-library-ssl-unknown-error-123-0x0000007b/131130/2 "2025-07-28T12:57:09Z")

</div>

You should check the last error. The environment variable `SSL_CERT_FILE` is set to `C:\ProgramDatanaconda3_2024_10_1\Library\ssl` and it does not exist or may be corrupted because it should have been like `C:\ProgramData\anaconda3_2024_10_1\Library\ssl`. You can either delete or correct this environment variable or also you may set `JULIA_SSL_CA_ROOTS_PATH` environment variable to the appropriate path for julia.

---

<div class="post-metadata">

**Author:** ![visr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/visr/32/17204_2.png) [@visr](https://discourse.julialang.org/u/visr)\
**Post date:** [July 28, 2025, 1:26pm UTC](https://discourse.julialang.org/t/requesterror-schannel-failed-to-open-ca-file-c-programdatanaconda3-2024-10-1-library-ssl-unknown-error-123-0x0000007b/131130/3 "2025-07-28T13:26:35Z")

</div>

You are running Julia from an activated Conda environment which points to the CA file. Indeed you could set `JULIA_SSL_CA_ROOTS_PATH` to the empty string as suggested in the error message.

But if you can update to the latest LTS patch release, 1.10.10, you don’t get this error due to [Don’t error when initializing LibGit2 with CA roots path by visr · Pull Request #56924 · JuliaLang/julia](https://github.com/JuliaLang/julia/pull/56924). You’ll still get warnings until 1.12 is released though with [Search SSL\_CERT\_FILE before SSL\_CERT\_DIR by visr · Pull Request #37 · JuliaLang/NetworkOptions.jl](https://github.com/JuliaLang/NetworkOptions.jl/pull/37).

---

<div class="post-metadata">

**Author:** ![dk-zen](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Post date:** [July 28, 2025, 1:59pm UTC](https://discourse.julialang.org/t/requesterror-schannel-failed-to-open-ca-file-c-programdatanaconda3-2024-10-1-library-ssl-unknown-error-123-0x0000007b/131130/4 "2025-07-28T13:59:30Z")

</div>

Thanks. `export JULIA_SSL_CA_ROOTS_PATH=""` works.
