# OpenSSL version mismatch (3.0 vs 3.5) -\> Problems with Documenter.jl + Git running in the official Julia Docker image

**URL:** <https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745>\
**Category:** General Usage\
**Tags:** binarybuilder\
**Created:** [May 6, 2025, 9:42am UTC](https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745 "2025-05-06T09:42:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [May 6, 2025, 9:42am UTC](https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745/1 "2025-05-06T09:42:27Z")

</div>

Our CI jobs which deploy the docs via Documenter.jl using the official Julia Docker image (e.g `julia:1.11`) started to fail a couple of days ago and I noticed that the problem is a version conflict between the system’s `OpenSSL version 3.0` and the `Git_jll` instantiated by Julia, which is pulling `OpenSSL_jll version 3.5`.

The actual error is:

```julia
OpenSSL version mismatch. Built against 300000f0, you have 30500000
fatal: Could not read from remote repository.

```

Here is a small(ish) repository where you can investigate the details:  
[Tamas Gal / DocumenterTest.jl · GitLab](https://git.km3net.de/tgal/DocumenterTest.jl) (the failing job log is here: [docs (#341106) · Jobs · Tamas Gal / DocumenterTest.jl · GitLab](https://git.km3net.de/tgal/DocumenterTest.jl/-/jobs/341106))

The problem is obviously a dynamic linking version mismatch caused by `git` on the system and presumable `Git_jll` from Julia.

Any JLL binary distribution experts with some ideas how to solve this? 😉

Relevant but not with the “correct/real” solution: [Deploying docs error - OPENSSL version missmatch](https://discourse.julialang.org/t/deploying-docs-error-openssl-version-missmatch/128734) where an upgrade of the Ubuntu base image solved it → it comes with OpenSSL 3.5 already, so there is no conflict.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [May 6, 2025, 9:48am UTC](https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745/2 "2025-05-06T09:48:30Z")

</div>

> [@Deploying docs error - OPENSSL version missmatch](https://discourse.julialang.org/t/deploying-docs-error-openssl-version-missmatch/128734/2):
>
> Turns out [updating the deploy workflow to run on ubuntu-latest](https://github.com/aris-mav/NMRInversions.jl/commit/579cd7b838a9081c98e8dff35f8f2f12ffc45007) solved the issue.

But I’m very confused by the error message, I don’t understand what’s the difference between Ubuntu 22.04 and 24.04, both come with OpenSSL 3.0 [according to repology](https://repology.org/project/openssl/versions) (also, don’t know why the system would be relevant)

---

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [May 6, 2025, 9:50am UTC](https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745/3 "2025-05-06T09:50:05Z")

</div>

Yes I already linked that post but it does not solve the original issue, which is: Julia manages to mix up OpenSSL versions.

---

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [May 6, 2025, 9:50am UTC](https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745/4 "2025-05-06T09:50:39Z")

</div>

Ah OK, I just assumed that it comes with OpenSSL 3.5. I guess the problem is then solved in a different way.

EDIT: (sorry for the spam) it might be that the presence/absence of Git on the system is “hiding” the mix-up

---

<div class="post-metadata">

**Author:** ![aris](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@aris](https://discourse.julialang.org/u/aris)\
**Post date:** [May 6, 2025, 9:52am UTC](https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745/5 "2025-05-06T09:52:52Z")

</div>

Frankly, I’m also clueless, I was randomly trying things and this one just worked.

---

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [May 6, 2025, 11:17am UTC](https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745/6 "2025-05-06T11:17:05Z")

</div>

I don’t know how exactly the GitHub action works to install Julia but I assume that `git` will not be installed on the system, so that Documenter.jl will probably use the `Git_jll` executable, but it’s still confusing. The current `Git_jll` lists `OpenSSH_jll 3.0.16` in its dependencies, so I have no clue where the version mismatch with OpenSSH 3.5 is coming from.

I don’t even know where to open an issue, but I think this issue could be present in other binary/library combinations as well!

---

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [May 6, 2025, 11:27am UTC](https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745/7 "2025-05-06T11:27:40Z")

</div>

Since all the other Git-related operations (Package registry, cloning etc.) seem to work fine, I think that the problem originates from Documenter.jl

I tentatively opened an issue there with a short summary: [OpenSSL version mismatch (3.0 vs 3.5) · Issue #2698 · JuliaDocs/Documenter.jl · GitHub](https://github.com/JuliaDocs/Documenter.jl/issues/2698)

---

<div class="post-metadata">

**Author:** ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Post date:** [May 9, 2025, 6:31am UTC](https://discourse.julialang.org/t/openssl-version-mismatch-3-0-vs-3-5-problems-with-documenter-jl-git-running-in-the-official-julia-docker-image/128745/8 "2025-05-09T06:31:33Z")

</div>

In case anyone has been following this topic here on discourse and not on Github: this should have been fixed in the latest release of Git.jl

> <https://github.com/JuliaDocs/Documenter.jl/issues/2357#issuecomment-2862562495>
>
> \`\`\`
> Initialized empty Git repository in /tmp/jl\_307B6d/.git/
> OpenSSL version m…ismatch. Built against 30100030, you have 300000c0
> fatal: Could not read from remote repository.
> \`\`\`
> 
> See https://ci.codeberg.org/repos/12769/pipeline/51/4#L155
> 
> The OS image used here is openSUSE:Tumbleweed

Many thanks to everyone involved!
