Microsoft.AspNetCore.Authentication.Certificate 10.0.0-preview.2.25164.1

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Authentication.Certificate.
dotnet add package Microsoft.AspNetCore.Authentication.Certificate --version 10.0.0-preview.2.25164.1
                    
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Certificate -Version 10.0.0-preview.2.25164.1
                    
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.0-preview.2.25164.1" />
                    
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.0-preview.2.25164.1" />
                    
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.0-preview.2.25164.1
                    
#r "nuget: Microsoft.AspNetCore.Authentication.Certificate, 10.0.0-preview.2.25164.1"
                    
#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.
#addin nuget:?package=Microsoft.AspNetCore.Authentication.Certificate&version=10.0.0-preview.2.25164.1&prerelease
                    
Install Microsoft.AspNetCore.Authentication.Certificate as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Certificate&version=10.0.0-preview.2.25164.1&prerelease
                    
Install Microsoft.AspNetCore.Authentication.Certificate 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (34)

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.

Steeltoe.Security.Authentication.MtlsCore

ASP.NET Core middleware that enables an application to support certificate authentication.

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.

GitHub repositories (18)

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

Repository Stars
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
grpc/grpc-dotnet
gRPC for .NET
justcoding121/titanium-web-proxy
A cross-platform asynchronous HTTP(S) proxy server in C#.
DuendeSoftware/products
The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
Version Downloads Last updated
10.0.0-preview.2.25164.1 186 3/18/2025
10.0.0-preview.1.25120.3 348 2/25/2025
9.0.4 0 4/8/2025
9.0.3 60,724 3/11/2025
9.0.2 61,970 2/11/2025
9.0.1 43,776 1/14/2025
9.0.0 150,551 11/12/2024
9.0.0-rc.2.24474.3 1,178 10/8/2024
9.0.0-rc.1.24452.1 515 9/10/2024
9.0.0-preview.7.24406.2 213 8/13/2024
9.0.0-preview.6.24328.4 200 7/9/2024
9.0.0-preview.5.24306.11 1,099 6/11/2024
9.0.0-preview.4.24267.6 300 5/21/2024
9.0.0-preview.3.24172.13 281 4/11/2024
9.0.0-preview.2.24128.4 273 3/12/2024
9.0.0-preview.1.24081.5 271 2/13/2024
8.0.15 0 4/8/2025
8.0.14 28,315 3/11/2025
8.0.13 40,867 2/11/2025
8.0.12 65,169 1/14/2025
8.0.11 388,733 11/12/2024
8.0.10 438,798 10/8/2024
8.0.8 488,004 8/13/2024
8.0.7 235,986 7/9/2024
8.0.6 270,065 5/28/2024
8.0.5 116,132 5/14/2024
8.0.4 152,716 4/9/2024
8.0.3 141,401 3/12/2024
8.0.2 206,767 2/13/2024
8.0.1 261,280 1/9/2024
8.0.0 218,398 11/14/2023
8.0.0-rc.2.23480.2 3,123 10/10/2023
8.0.0-rc.1.23421.29 1,543 9/12/2023
8.0.0-preview.7.23375.9 743 8/8/2023
8.0.0-preview.6.23329.11 1,153 7/11/2023
8.0.0-preview.5.23302.2 797 6/13/2023
8.0.0-preview.4.23260.4 942 5/16/2023
8.0.0-preview.3.23177.8 367 4/11/2023
8.0.0-preview.2.23153.2 299 3/14/2023
8.0.0-preview.1.23112.2 283 2/21/2023
7.0.20 10,705 5/28/2024
7.0.19 2,043 5/14/2024
7.0.18 5,451 4/9/2024
7.0.17 8,944 3/12/2024
7.0.16 7,390 2/13/2024
7.0.15 8,601 1/9/2024
7.0.14 33,186 11/14/2023
7.0.13 50,981 10/24/2023
7.0.12 473,191 10/10/2023
7.0.11 46,774 9/12/2023
7.0.10 367,976 8/8/2023
7.0.9 60,739 7/11/2023
7.0.8 38,430 6/22/2023
7.0.7 13,334 6/13/2023
7.0.5 340,241 4/11/2023
7.0.4 96,143 3/14/2023
7.0.3 55,403 2/14/2023
7.0.2 39,559 1/10/2023
7.0.1 37,002 12/13/2022
7.0.0 183,244 11/7/2022
7.0.0-rc.2.22476.2 754 10/11/2022
7.0.0-rc.1.22427.2 679 9/14/2022
7.0.0-preview.7.22376.6 613 8/9/2022
7.0.0-preview.6.22330.3 401 7/12/2022
7.0.0-preview.5.22303.8 654 6/14/2022
7.0.0-preview.4.22251.1 618 5/10/2022
7.0.0-preview.3.22178.4 476 4/13/2022
7.0.0-preview.2.22153.2 353 3/14/2022
7.0.0-preview.1.22109.13 350 2/17/2022
6.0.36 9,078 11/12/2024
6.0.35 6,618 10/8/2024
6.0.33 14,674 8/13/2024
6.0.32 10,760 7/9/2024
6.0.31 45,954 5/28/2024
6.0.30 5,588 5/14/2024
6.0.29 61,012 4/9/2024
6.0.28 54,931 3/12/2024
6.0.27 57,772 2/13/2024
6.0.26 36,603 1/9/2024
6.0.25 156,728 11/14/2023
6.0.24 85,593 10/24/2023
6.0.23 46,510 10/10/2023
6.0.22 56,296 9/12/2023
6.0.21 101,819 8/8/2023
6.0.20 102,747 7/11/2023
6.0.19 38,479 6/22/2023
6.0.18 30,810 6/13/2023
6.0.16 162,781 4/11/2023
6.0.15 104,775 3/14/2023
6.0.14 133,605 2/14/2023
6.0.13 142,123 1/10/2023
6.0.12 173,376 12/13/2022
6.0.11 136,374 11/7/2022
6.0.10 133,584 10/11/2022
6.0.9 275,123 9/13/2022
6.0.8 288,037 8/9/2022
6.0.7 252,631 7/12/2022
6.0.6 129,696 6/14/2022
6.0.5 517,094 5/10/2022
6.0.4 195,400 4/11/2022
6.0.3 228,623 3/8/2022
6.0.2 88,464 2/8/2022
6.0.1 533,234 12/14/2021
6.0.0 348,731 11/8/2021
6.0.0-rc.2.21480.10 1,124 10/12/2021
6.0.0-rc.1.21452.15 2,439 9/14/2021
6.0.0-preview.7.21378.6 2,290 8/10/2021
6.0.0-preview.6.21355.2 645 7/14/2021
6.0.0-preview.5.21301.17 476 6/15/2021
6.0.0-preview.4.21253.5 377 5/24/2021
6.0.0-preview.3.21201.13 408 4/8/2021
6.0.0-preview.2.21154.6 453 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 465 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 39,232 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 9,254 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 6,734 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 10,061 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 66,704 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 56,392 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 48,261 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 60,995 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 56,058 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 107,087 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 94,043 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 43,624 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 70,495 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 56,825 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 85,223 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 85,418 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 36,093 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 59,427 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 1,652 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 820 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 451 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 525 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 453 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 453 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 483 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 441 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 460 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 492 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 20,739 12/13/2022
3.1.31 7,353 11/8/2022
3.1.30 18,585 10/11/2022
3.1.29 1,987 9/13/2022
3.1.28 5,156 8/9/2022
3.1.27 1,459 7/12/2022
3.1.26 2,638 6/14/2022
3.1.25 21,454 5/10/2022
3.1.24 17,977 4/11/2022
3.1.23 9,422 3/8/2022
3.1.22 51,007 12/14/2021
3.1.21 26,834 11/7/2021
3.1.20 25,726 10/11/2021
3.1.19 21,082 9/14/2021
3.1.18 52,885 8/10/2021
3.1.17 18,882 7/13/2021
3.1.16 28,304 6/8/2021
3.1.15 36,520 5/11/2021
3.1.14 38,559 4/6/2021
3.1.13 48,662 3/9/2021
3.1.12 49,249 2/9/2021
3.1.11 29,087 1/12/2021
3.1.10 167,322 11/9/2020
3.1.9 92,861 10/13/2020
3.1.8 286,757 9/8/2020
3.1.7 93,594 8/11/2020
3.1.6 98,075 7/14/2020
3.1.5 114,569 6/9/2020
3.1.4 55,891 5/12/2020
3.1.3 181,325 3/24/2020
3.1.2 151,491 2/18/2020
3.1.1 50,111 1/14/2020
3.1.0 187,429 12/3/2019
3.1.0-preview3.19555.2 455 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 477 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 473 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 9,015 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 21,557 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 82,629 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 829 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 900 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 4,690 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 860 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 3,033 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.