opencertserver.acme.server 5.0.0-beta-93

This is a prerelease version of opencertserver.acme.server.
dotnet add package opencertserver.acme.server --version 5.0.0-beta-93
                    
NuGet\Install-Package opencertserver.acme.server -Version 5.0.0-beta-93
                    
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="opencertserver.acme.server" Version="5.0.0-beta-93" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="opencertserver.acme.server" Version="5.0.0-beta-93" />
                    
Directory.Packages.props
<PackageReference Include="opencertserver.acme.server" />
                    
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 opencertserver.acme.server --version 5.0.0-beta-93
                    
#r "nuget: opencertserver.acme.server, 5.0.0-beta-93"
                    
#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 opencertserver.acme.server@5.0.0-beta-93
                    
#: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=opencertserver.acme.server&version=5.0.0-beta-93&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=opencertserver.acme.server&version=5.0.0-beta-93&prerelease
                    
Install as a Cake Tool

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

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 is base64url(SHA256(keyAuthorization)), looked up via the multi-perspective IDnsResolver (DnsClientX).
  • DeviceAttestChallengeValidator (Services/DeviceAttestChallengeValidator.cs:21) — verifies device-attest-01 evidence (nonce → TPM quote → AIK signature → AIK chain) against the registered IAttestationTrustProvider, with replay protection.
  • CaaValidator (Services/CaaValidator.cs:45) — RFC 8659 / RFC 8657 CAA processing (Relevant RRset, issue / issuewild, accounturi, validationmethods with BR ca-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

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed