opencertserver.est.server
5.0.0-beta-93
dotnet add package opencertserver.est.server --version 5.0.0-beta-93
NuGet\Install-Package opencertserver.est.server -Version 5.0.0-beta-93
<PackageReference Include="opencertserver.est.server" Version="5.0.0-beta-93" />
<PackageVersion Include="opencertserver.est.server" Version="5.0.0-beta-93" />
<PackageReference Include="opencertserver.est.server" />
paket add opencertserver.est.server --version 5.0.0-beta-93
#r "nuget: opencertserver.est.server, 5.0.0-beta-93"
#:package opencertserver.est.server@5.0.0-beta-93
#addin nuget:?package=opencertserver.est.server&version=5.0.0-beta-93&prerelease
#tool nuget:?package=opencertserver.est.server&version=5.0.0-beta-93&prerelease
opencertserver.est.server
This project provides the EST (Enrollment over Secure Transport, RFC 7030) server implementation for OpenCertServer. It exposes endpoints for secure certificate enrollment and management, supporting both certificate and JWT authentication.
Functionality
- Implements EST server endpoints for certificate enrollment
- Supports secure authentication and certificate issuance
- Publishes EST CA certificate bundles through
/.well-known/est/cacerts - Supports EST root key rollover publication for clients that need to transition to a new CA key
Dependencies
- Microsoft.AspNetCore.Authentication.Certificate
- Microsoft.AspNetCore.Authentication.JwtBearer
- Microsoft.Extensions.DependencyInjection.Abstractions
- opencertserver.ca.utils (certificate utilities)
Key rollover
OpenCertServer separates the active issuing chain from the EST-published CA bundle:
CaProfile.CertificateChainis the active CA chain used for signing new certificates and validating the current CA configuration.CaProfile.PublishedCertificateChainis the certificate set returned from/.well-known/est/cacerts.
If PublishedCertificateChain is empty, the EST server falls back to CertificateChain.
How rollover works
EST key rollover is a publication concern, not an issuance-mode switch.
When you rotate a root or issuing CA key:
- the new CA certificate and private key become the active signing material in
CertificateChain; - the EST server continues issuing certificates from that active CA; and
- the EST
/cacertsresponse publishes a larger transition bundle so clients can learn the new trust anchor safely.
When rollover is configured, the EST /cacerts response can contain:
- the current root CA certificate;
OldWithOld— the previous self-signed root certificate;OldWithNew— the previous root public key signed by the current root key; andNewWithOld— the current root public key signed by the previous root key.
That bundle lets EST clients fetch the current trust anchor together with the certificates needed to bridge trust during a root key transition.
Using rollover in code
If you host the EST server as a library, configure rollover by keeping the active CA in CertificateChain and publishing the transition bundle through PublishedCertificateChain:
CertificateChain: current issuing CA onlyPublishedCertificateChain: current issuing CA + rollover certificates (OldWithOld,OldWithNew,NewWithOld)
The built-in self-signed CA helpers already create a rollover publication bundle automatically, so development and test environments expose rollover certificates from /cacerts without changing the active issuing key.
Using rollover with the file-backed opencertserver.certserver host
The executable server now supports publishing a rollover bundle for file-backed CA profiles without requiring application code changes.
For each profile, keep the active certificate/key on the existing options and provide an additional PEM bundle for what EST should publish from /cacerts:
- RSA profile:
- active CA certificate:
--rsa - active CA private key:
--rsa-key - published EST bundle:
--rsa-published
- active CA certificate:
- ECDSA profile:
- active CA certificate:
--ec - active CA private key:
--ec-key - published EST bundle:
--ec-published
- active CA certificate:
The published PEM bundle should contain the certificates you want clients to receive during rollover, typically the current CA certificate plus OldWithOld, OldWithNew, and NewWithOld. If the active CA certificate is missing from the published bundle, the host adds it automatically so /cacerts always includes the current trust anchor.
You can also supply the published bundle path through environment variables loaded by the host configuration:
RSA__PublishedPemECDSA__PublishedPem
Example:
dotnet run --project src/opencertserver.certserver -- \
--rsa /path/to/current-rsa-ca.crt \
--rsa-key /path/to/current-rsa-ca.key \
--rsa-published /path/to/rsa-est-rollover.pem \
--ec /path/to/current-ecdsa-ca.crt \
--ec-key /path/to/current-ecdsa-ca.key \
--ec-published /path/to/ecdsa-est-rollover.pem
Recommended rollover process
- Generate the new CA key pair and new CA certificate.
- Switch
CertificateChainto the new active issuing CA. - Publish a rollover bundle through
PublishedCertificateChainor the--*-publishedhost options. - Leave the rollover bundle available long enough for EST clients to refresh trust and accept the new root.
- After the transition window, remove the old rollover certificates from the published bundle and keep publishing only the steady-state CA chain.
Use this project to deploy an EST-compliant certificate authority server.
| Product | Versions 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. net11.0 is compatible. |
-
net10.0
- Microsoft.AspNetCore.Authentication.Certificate (>= 10.0.15)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- opencertserver.ca.utils (>= 5.0.0-beta-93)
-
net11.0
- Microsoft.AspNetCore.Authentication.Certificate (>= 11.0.0)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 11.0.0)
- opencertserver.ca.utils (>= 5.0.0-beta-93)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0-beta-93 | 11 | 12/3/2026 |
| 5.0.0-beta-86 | 88 | 11/29/2026 |
| 5.0.0-beta-85 | 95 | 11/28/2026 |
| 5.0.0-beta-82 | 92 | 11/27/2026 |
| 5.0.0-beta-68 | 94 | 11/25/2026 |
| 5.0.0-beta-66 | 93 | 11/25/2026 |
| 4.3.0 | 93 | 11/30/2026 |
| 4.2.0 | 109 | 11/24/2026 |
| 4.1.0 | 123 | 11/9/2026 |
| 4.0.0 | 112 | 11/6/2026 |
| 3.9.3 | 696 | 11/2/2026 |
| 3.9.2 | 128 | 10/24/2026 |
| 3.9.1 | 125 | 10/17/2026 |
| 3.9.0 | 384 | 10/13/2026 |
| 3.8.1 | 300 | 10/11/2026 |
| 3.8.0 | 137 | 9/24/2026 |
| 3.7.1 | 130 | 9/22/2026 |
| 3.7.0 | 130 | 9/20/2026 |
| 3.6.0 | 133 | 9/16/2026 |
| 3.5.1 | 178 | 9/13/2026 |