Skip to content

Doc "SslProtocols" and "ClientCertificateMode" settable via config#23241

Merged
Tratcher merged 2 commits into
mainfrom
Tratcher/ssl
Sep 8, 2021
Merged

Doc "SslProtocols" and "ClientCertificateMode" settable via config#23241
Tratcher merged 2 commits into
mainfrom
Tratcher/ssl

Conversation

@Tratcher
Copy link
Copy Markdown
Member

@Tratcher Tratcher commented Sep 8, 2021

Fixes dotnet/aspnetcore#26246

These were 5.0 features that were only partially covered by the SNI docs.

@Rick-Anderson EDIT: Internal review URL

"SslProtocols": ["Tls12", "Tls13"],
"Certificate": {
"Path": "<path to .pfx file>",
"Password": "<certificate password>"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Password will be flagged by CredScan. We're supposed to use $CREDENTIAL_PLACEHOLDER$; for passwords.
Given this is for localhost I can apply for an exception, but don't we need to tell them not to deploy to production?
Same comment applies to PW below. We tell customers never to put sensitive data in code, so we need to explain why we're breaking our own rule.
But I see the entire doc is loaded with the same JSON password. Should I open an issue to explain password use?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The certificate details aren't relevant to these specific sections, but you do need to have a cert.

But I see the entire doc is loaded with the same JSON password. Should I open an issue to explain password use?

Yes please.

@Tratcher Tratcher merged commit c80dbff into main Sep 8, 2021
@Tratcher Tratcher deleted the Tratcher/ssl branch September 8, 2021 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5.0 docs: "SslProtocols" and "ClientCertificateMode" settable via config

3 participants