Microsoft.AspNetCore.Authentication.Certificate 10.0.2

Prefix Reserved
dotnet add package Microsoft.AspNetCore.Authentication.Certificate --version 10.0.2
                    
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Certificate -Version 10.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Authentication.Certificate" Version="10.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Certificate" Version="10.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Authentication.Certificate" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.Authentication.Certificate --version 10.0.2
                    
#r "nuget: Microsoft.AspNetCore.Authentication.Certificate, 10.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.AspNetCore.Authentication.Certificate@10.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.Authentication.Certificate&version=10.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Certificate&version=10.0.2
                    
Install as a Cake Tool

About

Microsoft.AspNetCore.Authentication.Certificate provides ASP.NET Core middleware that enables an application to support certificate authentication.

How to Use

To use Microsoft.AspNetCore.Authentication.Certificate, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.Authentication.Certificate

Configuration

  1. Acquire an HTTPS certificate, install it, and configure your server to require certificates
  2. Configure the middleware in your APS.NET Core app's Program.cs:
    var builder = WebApplication.CreateBuilder(args);
    
    builder.Services.AddAuthentication(
            CertificateAuthenticationDefaults.AuthenticationScheme)
        .AddCertificate();
    
    var app = builder.Build();
    
    app.UseAuthentication();
    

Main Types

  • CertificateAuthenticationOptions: Provides options to configure certificate authentication
  • ICertificateValidationCache: Provides a cache used to store AuthenticateResult results after the certificate has been validated

Additional Documentation

For additional documentation and examples, refer to the official documentation on certificate authentication in ASP.NET Core.

Feedback & Contributing

Microsoft.AspNetCore.Authentication.Certificate is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (39)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Authentication.Certificate:

Package Downloads
FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

Genocs.WebApi.Security

The web api Security library

Convey.WebApi.Security

Convey.WebApi.Security

SSRD.IdentityUI

IdentityUI is a simple platform for administrative management of users and admins with a graphical interface. It is easy to set up, has a clean API, and runs on all recent .NET platforms.

SSS.AspNetCore.Extensions

Use to develop the common components, libraries, etc. that will be embedded into projects with configuration to use

GitHub repositories (18)

Showing the top 18 popular GitHub repositories that depend on Microsoft.AspNetCore.Authentication.Certificate:

Repository Stars
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dotnet/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
grpc/grpc-dotnet
gRPC for .NET
justcoding121/titanium-web-proxy
A cross-platform asynchronous HTTP(S) proxy server in C#.
webprofusion/certify
Professional ACME Client for Windows. Certificate Management UI, powered by Let's Encrypt and compatible with all ACME v2 CAs. Used by over 150,000 organisations. Remember to Star us! Download from certifytheweb.com
DuendeSoftware/products
The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
Azure/iotedge
The IoT Edge OSS project
aspnet/Benchmarks
Benchmarks for ASP.NET Core
SteeltoeOSS/Steeltoe
.NET Components for Externalized Configuration, Database Connectors, Service Discovery, Logging and Distributed Tracing, Application Management, Security, and more.
snatch-dev/Convey
A simple recipe for .NET Core microservices.
simpleidserver/SimpleIdServer
OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core
Aguafrommars/TheIdServer
OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
SteeltoeOSS/Samples
Steeltoe samples and reference application collection
alexhiggins732/IdentityServer8
DotNet 8, Identity, OpenID Connect and OAuth 2.0 Framework for ASP.NET Core Identity Server 8
damienbod/AspNetCoreCertificates
Certificate Manager in .NET Core for creating and using X509 certificates
Nordes/IdentityServer4.LdapExtension
IdentityServer4 Ldap Extension (OpenLdap or ActiveDirectory)
oidcproxydotnet/OidcProxy.Net
An extendible framework for .NET to implement the BFF Security Pattern (a.k.a. Token Handler Pattern) in Single Page Applications
dotnet-architecture/grpc-for-wcf-developers
gRPC for WCF Developers guidance samples
Version Downloads Last Updated
10.0.2 2,167 1/13/2026
10.0.1 33,661 12/9/2025
10.0.0 34,999 11/11/2025
10.0.0-rc.2.25502.107 1,892 10/14/2025
10.0.0-rc.1.25451.107 2,353 9/9/2025
10.0.0-preview.7.25380.108 1,248 8/12/2025
10.0.0-preview.6.25358.103 1,353 7/15/2025
10.0.0-preview.5.25277.114 1,342 6/6/2025
10.0.0-preview.4.25258.110 1,317 5/12/2025
10.0.0-preview.3.25172.1 743 4/10/2025
10.0.0-preview.2.25164.1 302 3/18/2025
10.0.0-preview.1.25120.3 615 2/25/2025
9.0.12 1,940 1/13/2026
9.0.11 67,279 11/11/2025
9.0.10 135,712 10/14/2025
9.0.9 103,647 9/9/2025
9.0.8 104,106 8/5/2025
9.0.7 89,037 7/8/2025
9.0.6 101,857 6/10/2025
9.0.5 111,460 5/13/2025
9.0.4 123,337 4/8/2025
9.0.3 185,038 3/11/2025
9.0.2 93,063 2/11/2025
9.0.1 63,218 1/14/2025
9.0.0 215,461 11/12/2024
9.0.0-rc.2.24474.3 1,265 10/8/2024
9.0.0-rc.1.24452.1 631 9/10/2024
9.0.0-preview.7.24406.2 308 8/13/2024
9.0.0-preview.6.24328.4 300 7/9/2024
9.0.0-preview.5.24306.11 1,221 6/11/2024
9.0.0-preview.4.24267.6 495 5/21/2024
9.0.0-preview.3.24172.13 386 4/11/2024
9.0.0-preview.2.24128.4 367 3/12/2024
9.0.0-preview.1.24081.5 360 2/13/2024
8.0.23 1,547 1/13/2026
8.0.22 85,291 11/11/2025
8.0.21 33,626 10/14/2025
8.0.20 60,488 9/9/2025
8.0.19 153,100 8/4/2025
8.0.18 44,662 7/8/2025
8.0.17 77,017 6/10/2025
8.0.16 52,390 5/13/2025
8.0.15 154,371 4/8/2025
8.0.14 126,372 3/11/2025
8.0.13 251,136 2/11/2025
8.0.12 124,282 1/14/2025
8.0.11 579,953 11/12/2024
8.0.10 805,971 10/8/2024
8.0.8 881,401 8/13/2024
8.0.7 371,396 7/9/2024
8.0.6 427,137 5/28/2024
8.0.5 129,895 5/14/2024
8.0.4 208,768 4/9/2024
8.0.3 176,869 3/12/2024
8.0.2 262,367 2/13/2024
8.0.1 303,995 1/9/2024
8.0.0 276,481 11/14/2023
8.0.0-rc.2.23480.2 3,223 10/10/2023
8.0.0-rc.1.23421.29 1,646 9/12/2023
8.0.0-preview.7.23375.9 821 8/8/2023
8.0.0-preview.6.23329.11 1,273 7/11/2023
8.0.0-preview.5.23302.2 923 6/13/2023
8.0.0-preview.4.23260.4 1,096 5/16/2023
8.0.0-preview.3.23177.8 517 4/11/2023
8.0.0-preview.2.23153.2 446 3/14/2023
8.0.0-preview.1.23112.2 423 2/21/2023
7.0.20 31,700 5/28/2024
7.0.19 7,646 5/14/2024
7.0.18 11,170 4/9/2024
7.0.17 14,668 3/12/2024
7.0.16 14,556 2/13/2024
7.0.15 15,304 1/9/2024
7.0.14 44,310 11/14/2023
7.0.13 58,947 10/24/2023
7.0.12 483,575 10/10/2023
7.0.11 55,727 9/12/2023
7.0.10 398,229 8/8/2023
7.0.9 70,139 7/11/2023
7.0.8 46,040 6/22/2023
7.0.7 19,726 6/13/2023
7.0.5 351,433 4/11/2023
7.0.4 119,433 3/14/2023
7.0.3 63,746 2/14/2023
7.0.2 47,284 1/10/2023
7.0.1 44,568 12/13/2022
7.0.0 192,898 11/7/2022
7.0.0-rc.2.22476.2 877 10/11/2022
7.0.0-rc.1.22427.2 804 9/14/2022
7.0.0-preview.7.22376.6 756 8/9/2022
7.0.0-preview.6.22330.3 555 7/12/2022
7.0.0-preview.5.22303.8 792 6/14/2022
7.0.0-preview.4.22251.1 784 5/10/2022
7.0.0-preview.3.22178.4 630 4/13/2022
7.0.0-preview.2.22153.2 480 3/14/2022
7.0.0-preview.1.22109.13 484 2/17/2022
6.0.36 51,823 11/12/2024
6.0.35 15,348 10/8/2024
6.0.33 22,897 8/13/2024
6.0.32 18,760 7/9/2024
6.0.31 54,833 5/28/2024
6.0.30 13,914 5/14/2024
6.0.29 82,903 4/9/2024
6.0.28 65,924 3/12/2024
6.0.27 73,581 2/13/2024
6.0.26 48,240 1/9/2024
6.0.25 171,621 11/14/2023
6.0.24 121,005 10/24/2023
6.0.23 53,453 10/10/2023
6.0.22 62,904 9/12/2023
6.0.21 113,997 8/8/2023
6.0.20 121,124 7/11/2023
6.0.19 44,972 6/22/2023
6.0.18 43,467 6/13/2023
6.0.16 174,656 4/11/2023
6.0.15 117,496 3/14/2023
6.0.14 146,455 2/14/2023
6.0.13 150,533 1/10/2023
6.0.12 221,064 12/13/2022
6.0.11 148,280 11/7/2022
6.0.10 147,450 10/11/2022
6.0.9 311,096 9/13/2022
6.0.8 311,424 8/9/2022
6.0.7 282,425 7/12/2022
6.0.6 138,685 6/14/2022
6.0.5 537,173 5/10/2022
6.0.4 211,375 4/11/2022
6.0.3 241,675 3/8/2022
6.0.2 95,637 2/8/2022
6.0.1 617,394 12/14/2021
6.0.0 410,366 11/8/2021
6.0.0-rc.2.21480.10 1,291 10/12/2021
6.0.0-rc.1.21452.15 2,603 9/14/2021
6.0.0-preview.7.21378.6 2,439 8/10/2021
6.0.0-preview.6.21355.2 810 7/14/2021
6.0.0-preview.5.21301.17 645 6/15/2021
6.0.0-preview.4.21253.5 556 5/24/2021
6.0.0-preview.3.21201.13 581 4/8/2021
6.0.0-preview.2.21154.6 718 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 723 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 48,122 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 15,183 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 12,345 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 15,766 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 74,669 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 64,683 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 55,655 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 68,432 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 62,580 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 114,341 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 102,137 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 50,797 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 77,180 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 63,328 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 90,909 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 93,086 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 42,598 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 66,480 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 1,874 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 1,077 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 709 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 772 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 704 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 700 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 749 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 695 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 685 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 743 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 31,194 12/13/2022
3.1.31 13,239 11/8/2022
3.1.30 31,694 10/11/2022
3.1.29 7,283 9/13/2022
3.1.28 10,607 8/9/2022
3.1.27 6,705 7/12/2022
3.1.26 8,267 6/14/2022
3.1.25 29,576 5/10/2022
3.1.24 23,381 4/11/2022
3.1.23 15,306 3/8/2022
3.1.22 57,112 12/14/2021
3.1.21 32,458 11/7/2021
3.1.20 31,509 10/11/2021
3.1.19 31,122 9/14/2021
3.1.18 59,677 8/10/2021
3.1.17 24,526 7/13/2021
3.1.16 35,476 6/8/2021
3.1.15 42,174 5/11/2021
3.1.14 44,288 4/6/2021
3.1.13 54,988 3/9/2021
3.1.12 55,317 2/9/2021
3.1.11 36,777 1/12/2021
3.1.10 176,167 11/9/2020
3.1.9 100,162 10/13/2020
3.1.8 293,070 9/8/2020
3.1.7 99,285 8/11/2020
3.1.6 104,376 7/14/2020
3.1.5 124,699 6/9/2020
3.1.4 63,706 5/12/2020
3.1.3 190,830 3/24/2020
3.1.2 159,030 2/18/2020
3.1.1 57,217 1/14/2020
3.1.0 212,714 12/3/2019
3.1.0-preview3.19555.2 703 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 728 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 702 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 14,795 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 26,949 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 93,909 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 1,090 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 1,156 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 4,946 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 1,126 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 3,458 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.