Certes 4.0.0

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

Certes

Certes is an ACME client library for .NET. It creates accounts, places orders, completes HTTP-01, DNS-01 and TLS-ALPN-01 challenges, and exports issued certificates as PEM or PFX.

Supported targets: net10.0, net8.0 and netstandard2.0.

var acme = new AcmeContext(WellKnownServers.LetsEncryptStagingV2);
var account = await acme.NewAccount("admin@example.com", true);
var order = await acme.NewOrder(new[] { "example.com" });

Test against a staging CA before using a production CA.

Documentation

The dotnet-certes package provides a command-line tool built on this library.

Licensed under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (36)

Showing the top 5 NuGet packages that depend on Certes:

Package Downloads
LettuceEncrypt

Provides API for configuring ASP.NET Core to automatically generate HTTPS certificates. This configures your server to use the ACME protocol to connect with a certificate authority (CA), such as Let's Encrypt (https://letsencrypt.org), to verify ownership of your domain name and generate a HTTPS certificate. This happens automatically when the server starts up, and will renew the certificate automatically when the expiration date is near. This only works with Kestrel, which is the default server configuration for ASP.NET Core projects. Other servers, such as IIS and nginx, are not supported.

uwap.WebFramework

Cross-platform .NET library written in C# that allows you to create a web server for dynamic and/or static websites and web apps with ease.

FluffySpoon.AspNet.LetsEncrypt

Package Description

LagoVista.Net.LetsEncrypt

Provides Middleware and services to request and store certificates from the Let's Encrypt service for ASP.NET Core applications

DH.LettuceEncrypt

用于DH框架的Let's Encrypt生成库。参考https://github.com/natemcmaster/LettuceEncrypt

GitHub repositories (11)

Showing the top 11 popular GitHub repositories that depend on Certes:

Repository Stars
natemcmaster/LettuceEncrypt
Free, automatic HTTPS certificate generation for ASP.NET Core web apps
sjkp/letsencrypt-siteextension
Azure Web App Site Extension for easy installation and configuration of Let's Encrypt issued SSL certifcates for custom domain names.
junkai-li/NetCoreKevin
🤖基于.NET搭建的企业级中台AI知识库智能体开源架构:AISkills技能管理、AI语音电话模式、智能体记忆、AI-Qdrant知识库、知识库重排模型、AI联网搜索、多智能体协同、聊天记录压缩策略、智能体权限管控、AgentFramework、RAG检索增强、本地Ollama AI模型调用、智能体技能可控加载、领域事件、一库多租户、Log4、Jwt、CAP、SignalR、Mcp、Hangfire、RabbitMQ、前端(Vue + Ant Design)
Maarten88/rrod
Exploring a new web architecture with React, Redux, Orleans and Dotnet Core
ffMathy/FluffySpoon.AspNet.EncryptWeMust
ark-mod/ArkBot
ARK Survival Evolved application that monitors and extracts data from local ARK servers and exposes this data through a Web App, Web API and Discord Bot. Provides important functions to players: dino listings, food-status, breeding info, statistics; and server admins: rcon-commands, server managing etc.
NethermindEth/dotnet-libp2p
A libp2p implementation for .NET in C#.
kl3mta3/SphereSSL
Web-powered SSL certificate manager with DNS integration, auto-renewals, and cert tracking. It's like if Certbot and ZeroSSL had a baby. Certbot but more friendly, smarter, and with a dashboard.
aloopkin/WinCertes
An ACMEv2 client for Windows
sjkp/letsencrypt-azure
The easiest way to use lets encrypt certificates on Azure
stratdev3/SimpleW
Lightweight Web Server for .NET. Simple by design. Standalone or embedded.
Version Downloads Last Updated
4.0.0 0 9/23/2026
4.0.0-beta.1 0 9/23/2026
3.0.4 1,322,603 1/4/2023
3.0.3 336,772 10/4/2021
3.0.0 189,276 7/18/2021
2.3.4 696,477 3/27/2020
2.3.3 406,211 12/17/2018
2.3.2 86,586 10/20/2018
2.3.1 12,693 10/16/2018
2.3.0 31,908 6/15/2018
2.2.2 13,537 5/31/2018
2.2.1 13,609 5/15/2018
2.2.0 14,336 5/5/2018
2.1.0 13,740 4/28/2018
2.0.1 14,371 3/17/2018
Loading failed

### Breaking changes
- PFX export now encrypts the private key and certificates with AES-256-CBC
 (PBES2, PBKDF2 with HMAC-SHA256) instead of 3DES and 40-bit RC2. OpenSSL 3 and
 Android reject the old algorithms, so PFX files from earlier versions failed to
 load there without OpenSSL's legacy provider. Windows Server 2016 and earlier
 cannot read AES-encrypted PFX files; set `PfxBuilder.Encryption` to
 `PfxEncryption.Legacy`, or pass `--legacy-encryption` to `certes cert pfx`, to
 keep the old algorithms. The PFX integrity check remains HMAC-SHA1 with 1024
 iterations, because BouncyCastle does not expose other settings.

### Fixed
- `IOrderContextExtensions.Generate` now waits for an order to become `ready`
 before sending finalize. Previously it could finalize while the order was still
 `pending`, which ACME servers reject. The `retryCount` budget remains shared
 between this pre-finalize wait and post-finalize polling of `pending`/
 `processing`. If challenge validation was never triggered, this can wait up to
 60 server-directed `Retry-After` intervals by default.

### Changed
- `CertificateChainExtensions.ToPem` now always emits LF (`\n`) line endings,
 avoiding mixed `\r\n`/`\n` output across platforms.

Full changelog: https://github.com/fszlin/certes/blob/v4.0.0/docs/CHANGELOG.md