opencertserver.acme.server
5.0.0-beta-93
dotnet add package opencertserver.acme.server --version 5.0.0-beta-93
NuGet\Install-Package opencertserver.acme.server -Version 5.0.0-beta-93
<PackageReference Include="opencertserver.acme.server" Version="5.0.0-beta-93" />
<PackageVersion Include="opencertserver.acme.server" Version="5.0.0-beta-93" />
<PackageReference Include="opencertserver.acme.server" />
paket add opencertserver.acme.server --version 5.0.0-beta-93
#r "nuget: opencertserver.acme.server, 5.0.0-beta-93"
#:package opencertserver.acme.server@5.0.0-beta-93
#addin nuget:?package=opencertserver.acme.server&version=5.0.0-beta-93&prerelease
#tool nuget:?package=opencertserver.acme.server&version=5.0.0-beta-93&prerelease
opencertserver.acme.server
The ACME (RFC 8555) server for OpenCertServer. It is a library that exposes
the RFC 8555 endpoints (directory, account, order, challenge, revocation) and
delegates issuance to whatever the host registers — so the exact same code
runs as an in-process monolith next to a CA core
(opencertserver.certserver) or as a
standalone remote-CA host (opencertserver.acme).
Its root namespace is OpenCertServer.Acme.Server
(opencertserver.acme.server.csproj:4).
What runs here
Registration and middleware
ServiceCollectionExtensions.AddAcmeServer(Extensions/ServiceCollectionExtensions.cs:27) reads theAcmeServerconfiguration section (optionallyPublicRa) and registers the account / order / nonce / revocation services, the challenge validators, the CAA validator and DNS resolver, and an emptyIAttestationTrustProvider(Extensions/ServiceCollectionExtensions.cs:132). It deliberately does not registerICsrValidatororIIssueCertificates— those are the host's responsibility.AddAcmeInMemoryStore(Extensions/ServiceCollectionExtensions.cs:178) andAddAcmeFileStore(Extensions/ServiceCollectionExtensions.cs:163) register the store implementations (in-memory singletons, or file-backedNonceStore/AccountStore/OrderStore/ExternalAccountKeyStore).AcmeRegistration.UseAcmeServer(AcmeRegistration.cs:12) maps the endpoints under an optional path base, with the ACME response / index / validation endpoint filters.
Endpoints (Endpoints/)
The RFC 8555 paths, all AllowAnonymous (ACME authenticates via JWS, not ASP.NET
authentication):
| Endpoint | Path | File |
|---|---|---|
| Directory | GET /directory |
DirectoryEndpoints.cs:16 |
| New nonce | GET /new-nonce |
NonceEndpoints.cs:41 |
| New account | POST /new-account |
AccountEndpoints.cs:28 |
| Key change | POST /key-change |
AccountEndpoints.cs:30 |
| Account orders | POST /account/{accountId}/orders |
AccountEndpoints.cs:38 |
| New order | POST /new-order |
OrderEndpoints.cs:25 |
| Order / auth / challenge | POST /order/{orderId}, /auth/{authId}, /auth/{authId}/chall/{challengeId} |
OrderEndpoints.cs:90 |
| Finalize / certificate | POST /order/{orderId}/finalize, /certificate |
OrderEndpoints.cs:214 |
| Revoke | POST /revoke-cert |
RevocationEndpoints.cs:17 |
Challenge validators (Services/)
Token-based challenges share an abstract
TokenChallengeValidator
(account-must-be-valid, expiry, key-authorization comparison):
ValidateHttp01Challenges(Services/Http01ChallengeValidator.cs:15) — fetches the key authorization over an SSRF-blocking HTTP client; expected content is{token}.{jwkThumbprint}.ValidateDns01Challenges(Services/Dns01ChallengeValidator.cs:17) — expected content isbase64url(SHA256(keyAuthorization)), looked up via the multi-perspectiveIDnsResolver(DnsClientX).DeviceAttestChallengeValidator(Services/DeviceAttestChallengeValidator.cs:21) — verifiesdevice-attest-01evidence (nonce → TPM quote → AIK signature → AIK chain) against the registeredIAttestationTrustProvider, with replay protection.CaaValidator(Services/CaaValidator.cs:45) — RFC 8659 / RFC 8657 CAA processing (Relevant RRset,issue/issuewild,accounturi,validationmethodswith BRca-tbr-*aliases).
Issuance delegation
DefaultOrderService is where the
topology lives. On finalize it validates the CSR through the injected
ICsrValidator (Services/DefaultOrderService.cs:165)
and then signs through the injected IIssueCertificates
(Services/DefaultOrderService.cs:172).
Neither ICsrValidator nor IIssueCertificates has a concrete implementation in
this project — the in-process DefaultCsrValidator / DefaultIssuer live in
opencertserver.certserver and the remote RemoteIssuer lives in
opencertserver.acme.remote, which is
exactly what lets one server serve both topologies.
The remaining pieces are the store implementations (Stores/), the background
validation loop (BackgroundServices/HostedValidationService,
Workers/ValidationWorker), and the SSRF / multi-perspective DNS plumbing
(Services/SsrfBlockingSocketsHandler, Services/MultiPerspectiveDnsResolver).
Usage
The in-process variant (the monolith) registers the server, an in-memory store, and the CA-backed issuance seam, then maps the endpoints:
using OpenCertServer.Acme.Server;
using OpenCertServer.Acme.Server.Extensions;
using OpenCertServer.Acme.Abstractions.IssuanceServices;
var builder = WebApplication.CreateBuilder(args);
// The in-process issuer/CSR validator come from opencertserver.ca / certserver.
builder.Services
.AddAcmeServer(builder.Configuration) // reads the "AcmeServer" section
.AddAcmeInMemoryStore() // or .AddAcmeFileStore(builder.Configuration)
.AddSingleton<ICsrValidator, DefaultCsrValidator>()
.AddSingleton<IIssueCertificates, DefaultIssuer>();
var app = builder.Build();
app.UseAcmeServer(); // maps the RFC 8555 endpoints
app.Run();
The remote-CA variant — AddAcmeServer + AddAcmeInMemoryStore +
AddAcmeRemoteCa (which registers RemoteIssuer as IIssueCertificates) +
UseAcmeServer — is documented in
opencertserver.acme. The per-route YARP
topology is in opencertserver.acme.yarp.
Dependencies
DnsClientX— package reference fordns-01/ CAA DNS resolution (opencertserver.acme.server.csproj:11).Microsoft.AspNetCore.App— framework reference (opencertserver.acme.server.csproj:15).- Project references:
CertesSlim,opencertserver.acme.abstractions,opencertserver.ca.utils, andopencertserver.tss.net(TPM/attestation) (opencertserver.acme.server.csproj:19-22).
This is a library, not an application. The hosts that run it are
opencertserver.acme (remote-CA host) and
opencertserver.certserver
(in-process monolith).
| 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
- CertesSlim (>= 5.0.0-beta-93)
- DnsClientX (>= 2.3.1)
- opencertserver.acme.abstractions (>= 5.0.0-beta-93)
- opencertserver.ca.utils (>= 5.0.0-beta-93)
- opencertserver.tss.net (>= 5.0.0-beta-93)
-
net11.0
- CertesSlim (>= 5.0.0-beta-93)
- DnsClientX (>= 2.3.1)
- opencertserver.acme.abstractions (>= 5.0.0-beta-93)
- opencertserver.ca.utils (>= 5.0.0-beta-93)
- opencertserver.tss.net (>= 5.0.0-beta-93)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on opencertserver.acme.server:
| Package | Downloads |
|---|---|
|
opencertserver.acme.remote
Remote ACME issuer: an ACME server that issues through a backing certificate authority over a trusted HTTPS connection instead of hosting the CA core in-process. This project references opencertserver.acme.server and opencertserver.ca.client, but never opencertserver.ca, so the ACME server can be deployed as its own process. The backing CA stays authoritative for scope and identity. |
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 | 92 | 11/29/2026 |
| 5.0.0-beta-85 | 101 | 11/28/2026 |
| 5.0.0-beta-82 | 101 | 11/27/2026 |
| 5.0.0-beta-68 | 98 | 11/25/2026 |
| 5.0.0-beta-66 | 93 | 11/25/2026 |
| 4.3.0 | 99 | 11/30/2026 |
| 4.2.0 | 107 | 11/24/2026 |
| 4.1.0 | 115 | 11/9/2026 |
| 4.0.0 | 139 | 11/6/2026 |
| 3.9.3 | 115 | 11/2/2026 |
| 3.9.2 | 124 | 10/24/2026 |
| 3.9.1 | 125 | 10/17/2026 |
| 3.9.0 | 122 | 10/13/2026 |
| 3.8.1 | 117 | 10/11/2026 |
| 3.8.0 | 142 | 9/24/2026 |
| 3.7.1 | 126 | 9/22/2026 |
| 3.7.0 | 134 | 9/20/2026 |
| 3.6.0 | 130 | 9/16/2026 |
| 3.5.1 | 126 | 9/13/2026 |