Skip to content

Quarantine Microsoft.AspNetCore.Server.Kestrel.Tests.HttpsConfigurationTests and related TLS tests failing with OpenSSL error co [Content truncated due to length] #65851

Closed

Description

@github-actions

Failing Test(s)

  • Microsoft.AspNetCore.Server.Kestrel.Tests.HttpsConfigurationTests.BindAddressFromSetting
  • Microsoft.AspNetCore.Server.Kestrel.Tests.HttpsConfigurationTests.BindAddressFromEndpoint
  • Microsoft.AspNetCore.Server.Kestrel.Tests.HttpsConfigurationTests.UseHttpsJustWorks
  • Microsoft.AspNetCore.Server.Kestrel.Tests.HttpsConfigurationTests.UseHttpsMayNotImplyUseKestrelHttpsConfiguration
  • Microsoft.AspNetCore.Server.Kestrel.Tests.HttpsConfigurationTests.LoadEndpointCertificate
  • Microsoft.AspNetCore.Server.Kestrel.Tests.KestrelConfigurationLoaderTests.LoadDevelopmentCertificate_UseHttpsBeforeLoad
  • Microsoft.AspNetCore.Server.Kestrel.Tests.KestrelConfigurationLoaderTests.LoadDevelopmentCertificate_LoadBeforeUseHttps
  • Microsoft.AspNetCore.Server.Kestrel.Core.Tests.SniOptionsSelectorTests.FallsBackToHttpsConnectionAdapterCertificate
  • Interop.FunctionalTests.Http3.Http3TlsTests.LoadDevelopmentCertificateViaConfiguration

Error Message

System.Security.Cryptography.CryptographicException : OpenSSL mapping function MapOpenSsl30Code reported unhandled error code '77'.

Stacktrace

Stack Trace
Stack Trace:
     at System.Security.Cryptography.X509Certificates.OpenSslX509ChainProcessor.MapOpenSsl30Code(X509VerifyStatusCode code)
     at System.Security.Cryptography.X509Certificates.OpenSslX509ChainProcessor.AddElementStatus(X509VerifyStatusCode errorCode, List`1 elementStatus, List`1 overallStatus, Boolean isEndCertificate)
     at System.Security.Cryptography.X509Certificates.OpenSslX509ChainProcessor.AddElementStatus(ErrorCollection errorCodes, List`1 elementStatus, List`1 overallStatus, Boolean isEndCertificate)
     at System.Security.Cryptography.X509Certificates.OpenSslX509ChainProcessor.BuildChainElements(WorkingChain workingChain, List`1& overallStatus)
     at System.Security.Cryptography.X509Certificates.OpenSslX509ChainProcessor.Finish(OidCollection applicationPolicy, OidCollection certificatePolicy)
     at System.Security.Cryptography.X509Certificates.ChainPal.BuildChainCore(Boolean useMachineContext, ICertificatePal cert, X509Certificate2Collection extraStore, OidCollection applicationPolicy, OidCollection certificatePolicy, X509RevocationMode revocationMode, X509RevocationFlag revocationFlag, DateTime verificationTime, TimeSpan timeout, X509Certificate2Collection customTrustStore, X509ChainTrustMode trustMode)
     at System.Security.Cryptography.X509Certificates.ChainPal.BuildChain(Boolean useMachineContext, ICertificatePal cert, X509Certificate2Collection extraStore, OidCollection applicationPolicy, OidCollection certificatePolicy, X509RevocationMode revocationMode, X509RevocationFlag revocationFlag, DateTime verificationTime, TimeSpan timeout, X509Certificate2Collection customTrustStore, X509ChainTrustMode trustMode)

Logs

Console log
[xUnit.net 00:00:08.68]     Microsoft.AspNetCore.Server.Kestrel.Core.Tests.SniOptionsSelectorTests.FallsBackToHttpsConnectionAdapterCertificate [FAIL]
[xUnit.net 00:00:08.68]       System.Security.Cryptography.CryptographicException : OpenSSL mapping function MapOpenSsl30Code reported unhandled error code '77'.

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1328959

Generated by Daily Test Quarantine Management · ◷

Activity

  1. github-actions commented on Apr 18, 2026

    @github-actions
    ContributorAuthor

    Closing as all three tests referencing this issue have been unquarantined — they have maintained a 100% pass rate for 30+ days in the quarantined-tests pipeline. See the unquarantine PR for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions