-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure certificate by thumbprint #4385
Comments
And mirror that in UseHttps. We'll see what the preview1 feedback is. |
I'd like to request this as well. We had a difficult-to-debug situation recently where Kestrel was loading the wrong certificate because the subject name matched the one we wanted (because Fiddler had generated one with the same subject). |
May I know if there is any update on this issue? |
The problem with thumbprints is it'll allow you to choose an expired certificate. Using subject names is better because it will pull a valid one (assuming it exists), with the longest validity period. Thumbprint selection should die. |
So, close as wontfix? |
I wouldn't go that far, but I wouldn't view this as blocking as you can always resolve the cert yourself before binding kestrel. Maybe address by docs? |
ok this really should be added. configuring with subject is a pain especially in azure scenarios where again thumbprint is shown... |
It's @blowdart's call. This is bad practice within Microsoft and you can already do this today with code. The question is should we make it easier via configuration and currently, that answer is no. |
Would be nice if we could configure server certificates via thumbprint + store name.
Example usage in appsettings.json:
The text was updated successfully, but these errors were encountered: