-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Log if a server certificate lacks the subjectAlternativeName extensions #47678
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
Conversation
Suggested by @JamesNK at the Tuesday meeting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some notes on the parts I don't like. Suggestions?
src/Servers/Kestrel/Core/src/Internal/Infrastructure/TransportManager.cs
Outdated
Show resolved
Hide resolved
src/Servers/Kestrel/Core/src/Middleware/HttpsConnectionMiddleware.cs
Outdated
Show resolved
Hide resolved
CommonName was deprecated in favor of subjectAlternativeName so there's a good chance of getting a browser security warning if it's missing.
Force push is a manual rebase (mostly on top of #47454). Conveniently, appropriate loggers and logger factories were more accessible in the latest |
src/Servers/Kestrel/Core/src/Middleware/HttpsConnectionMiddleware.cs
Outdated
Show resolved
Hide resolved
@BrennanConroy Any remaining concerns? |
Log if a server certificate lacks the subjectAlternativeName extensions
Description
CommonName was deprecated in favor of subjectAlternativeName so there's a good chance of getting a browser security warning if it's missing.