Skip to content

Client certificate fails in validation procedure by framework on linux and docker #40501

Answered by Tratcher
raych1 asked this question in General
Discussion options

You must be logged in to vote

Can I ignore the certificate validation in framework and do it in middleware?

Yes, add a call to o.AllowAnyClientCertificate() in ConfigureHttpsDefaults.
https://github.com/dotnet/aspnetcore/blob/aa828180783b6245cdab2cba7d59d91396eaa01b/src/Servers/Kestrel/Core/src/HttpsConnectionAdapterOptions.cs#L84

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by raych1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants