Skip to content

Support OpenSSL 4.0 #125619

Closed
Closed

Description

@vcsjones

There are some changes that are going to be needed to support OpenSSL 4.0 when it is released, which is expected sometime in the spring.

  • Teach OpenLibraryOnce about the .4 so object suffix.
  • For portable builds with 3.0 headers, we need to teach it about OPENSSL_sk_set_thunks so that .NET Build against 3.0 headers functions correctly against 4.0
  • There have been a number of pull requests to fix compilation against 4.0 headers, primarily that some things have been const-ified. We should decide what, if anything, gets back ported and to where.

Activity

  1. added this to the 11.0.0 milestone on Mar 16, 2026
  2. dotnet-policy-service commented on Mar 16, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @bartonjs, @vcsjones, @dotnet/area-system-security
    See info in area-owners.md if you want to be subscribed.

  3. vcsjones commented on Apr 15, 2026

    @vcsjones
    MemberAuthor

    OpenSSL 4.0 was released yesterday. I believe this is the list of PRs to get OpenSSL 4.0 support working.

    TODO:

    1. Decide where 4.0 fits in the loading order. Right now it is last.
    2. We don't have an image In CI for this. Typically Alpine is one of the first to get newer versions of OpenSSL, LTS or not.
  4. modified the milestones: 11.0.0, 12.0.0 on Aug 16, 2026
  5. jeffhandley commented on Aug 16, 2026

    @jeffhandley
    Member

    @bartonjs / @vcsjones / @PranavSenthilnathan - I moved this to .NET 12. Let's discuss if there's anything else we should be sure to land in .NET 11 though.

  6. mateusrodrigues commented on Aug 18, 2026

    @mateusrodrigues
    Member

    Hi folks. Keeping an eye on this issue as Ubuntu 26.10 (to be released in Oct 2026) has moved to OpenSSL 4, and we are expecting to ship .NET 10 and .NET 11 with it.

    .NET 10 has started failing to build on 26.10 ever since the move. I was able to apply the three changes listed above as patches, and it is now building successfully. In any case, just want to raise this here.

    cc @Rinconjr

  7. bartonjs commented on Aug 18, 2026

    @bartonjs
    Member

    .NET 10 has started failing to build on 26.10 ever since the move.

    That report (especially combined with you saying the patches fixed it) is enough backport justification (for me... and probably for the backport review peeps).

    For our "portable" build 4.0 will stay last, but if you're doing distro-packages and direct building then it'll be 4.0 for your version.

  8. xnox commented on Sep 2, 2026

    @xnox

    I would love to see OpenSSL 4.x support in .NET 10, and even .NET 9 if at all possible. 10 will have a long overlap with OpenSSL 4.x LTS. The .NET 9 is diminishing returns.

  9. vcsjones commented on Sep 2, 2026

    @vcsjones
    MemberAuthor

    It's on my plate to get a backport PR open for .NET 10 soon. 9 is unlikely though because it goes EoL in basically two months.

  10. self-assigned this
    on Sep 2, 2026
  11. added a commit that references this issue on Oct 10, 2026
  12. locked and limited conversation to collaborators on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions