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

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Authentication.Certificate.
dotnet add package Microsoft.AspNetCore.Authentication.Certificate --version 10.0.0-preview.4.25255.103
                    
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Certificate -Version 10.0.0-preview.4.25255.103
                    
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.4.25255.103" />
                    
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.4.25255.103" />
                    
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.4.25255.103
                    
#r "nuget: Microsoft.AspNetCore.Authentication.Certificate, 10.0.0-preview.4.25255.103"
                    
#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.4.25255.103&prerelease
                    
Install Microsoft.AspNetCore.Authentication.Certificate as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Certificate&version=10.0.0-preview.4.25255.103&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.  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.

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
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#.
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.0-preview.4.25255.103 0 5/12/2025