Skip to content

OpenSSL error - unknown certificate type when using SLH-DSA-* certificates #119573

Open

Description

@rzikm

Attempts to use SLH-DSA-* certificates will cause SslStream handshake attempts to fail with

      ---- System.Security.Authentication.AuthenticationException : Authentication failed, see inner exception.
      -------- Interop+OpenSsl+SslException : Using SSL certificate failed with OpenSSL error - unknown certificate type.

The reason seems to be because OpenSSL common provider does not advertise for the SLH-DSA-* signature schemes in its TLS-SIGALG capability

https://github.com/openssl/openssl/blob/0c679f556669e32499a827a081afe3bcf973c9ad/providers/common/capabilities.c#L315-L320

Since the Relevant RFC is still in draft state, this is not unexpected, but until OpenSSL introduces these, it is not going to be possible to use these certs with SslStream.

Activity

  1. added
    untriaged
    on Sep 11, 2025
  2. dotnet-policy-service commented on Sep 11, 2025

    @dotnet-policy-service
    Contributor

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

  3. added
    tracking-external-issue
    and removed
    untriaged
    on Sep 11, 2025
  4. added this to the Future milestone on Sep 11, 2025
  5. dotnet-policy-service commented on Sep 11, 2025

    @dotnet-policy-service
    Contributor

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

  6. rzikm commented on Sep 12, 2025

    @rzikm
    MemberAuthor

    tracked by OpenSSL issue openssl/openssl#28026

  7. added theissue type on Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.Securitytracking-external-issue

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions