Free and open source software ACME protocol v2 implementation in C# .NET Core, allowing cross-platform automated interaction with certificate authorities like Let's Encrypt.


Code Examples

For more code samples, checkout the /examples/ folder in the source repository.

var acmeClient = new ACMEClient(ACMEEnvironment.StagingV2, rsaKey, new RestClientFactory());
ACMEDirectory directory = await acmeClient.InitializeAsync();
var account = await acmeClient.RegisterAsync(new[] { "mailto:" + userContact });
Order result = await acmeClient.OrderAsync(new[] {"domain.test","*.domain.test");

Blog posts tagged with Acmelib

Migrating Kenc.ACMELib to Semantic Versioning


Back when I made the first publically available build of Kenc.ACMELib I wanted to go for semantic versioning, but with the default format in Azure DevOps being \$(date:yyyy).\$(date:MM).\$(date:dd)$(rev:.r), the first few builds ended up using that format and I kinda stuck with it.

Read on

Introducing Kenc.ACMELib (Lets Encrypt client in .net)


About a year ago I started using Lets Encrypt for my certificate needs for a variety of websites and online services I run, but being mostly Windows based, I lacked a great automation solution. In the beginning I tried various solutions, including solutions for automatic certificate renewal for A

Read on