Skip to content

Light Freshness Edit: ASP.NET - Config Cert Auth#37064

Open
GitHubber17 wants to merge 5 commits intodotnet:mainfrom
GitHubber17:568764-h
Open

Light Freshness Edit: ASP.NET - Config Cert Auth#37064
GitHubber17 wants to merge 5 commits intodotnet:mainfrom
GitHubber17:568764-h

Conversation

@GitHubber17
Copy link
Copy Markdown
Contributor

@GitHubber17 GitHubber17 commented Apr 28, 2026

This PR contains light freshness updates to the following article:

Configure certificate authentication in ASP.NET Core

  • Updates to moniker range=">= aspnetcore-6.0" only
  • On Line 1730, there is a reference to GH issue 18720, which was closed January 2022.
    Should the article target a different issue, or the reference be removed?

For details, see ADO request 568764.


Internal previews

📄 File 🔗 Preview link
aspnetcore/security/authentication/certauth.md customer intent: As an ASP.NET developer, I want to use certificate authentication in ASP.NET Core for IIS and HTTP.sys, so I can control access to my apps by using certificates.

@GitHubber17 GitHubber17 marked this pull request as ready for review April 28, 2026 18:40
@GitHubber17
Copy link
Copy Markdown
Contributor Author

GitHubber17 commented Apr 28, 2026

Hi @blowdart - This PR contains light freshness edits for your review. See the top comment for details and issues to address. Thanks

Cc @cmastr @wadepickett

Comment thread aspnetcore/security/authentication/certauth.md Outdated
Comment thread aspnetcore/security/authentication/certauth.md Outdated
Comment thread aspnetcore/security/authentication/certauth.md Outdated
@GitHubber17
Copy link
Copy Markdown
Contributor Author

@blowdart - Thank you for your feedback. I applied your suggested changes.

@GitHubber17 GitHubber17 requested a review from blowdart April 28, 2026 20:12
HttpSys has two settings that control the client certificate negotiation and both should be set. The first is in the _netsh.exe_ file under `http add sslcert clientcertnegotiation=enable/disable`. This flag indicates whether to negotiate the client certificate at the start of a connection. Set the value to `disable` for optional client certificates. For more information, see the `http add sslcert` parameter usage in the [netsh docs](/windows-server/administration/windows-commands/netsh-http#parameters).

The other setting is <xref:Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions.ClientCertificateMethod>. When set to `AllowRenegotation`, the client certificate can be renegotiated during a request.
The other setting is the <xref:Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions.ClientCertificateMethod> method. When set to `AllowRenegotation`, the client certificate can be renegotiated during a request.
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.

Suggested change
The other setting is the <xref:Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions.ClientCertificateMethod> method. When set to `AllowRenegotation`, the client certificate can be renegotiated during a request.
The other setting is the <xref:Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions.ClientCertificateMethod> property. When set to `AllowRenegotation`, the client certificate can be renegotiated during a request.

ClientCertificateMethod is a property on HttpSysOptions, not a method.

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.

3 participants