Kenc.ACMELib 1.0.13

Install-Package Kenc.ACMELib -Version 1.0.13
dotnet add package Kenc.ACMELib --version 1.0.13
<PackageReference Include="Kenc.ACMELib" Version="1.0.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Kenc.ACMELib --version 1.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Kenc.ACMELib, 1.0.13"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Kenc.ACMELib as a Cake Addin
#addin nuget:?package=Kenc.ACMELib&version=1.0.13

// Install Kenc.ACMELib as a Cake Tool
#tool nuget:?package=Kenc.ACMELib&version=1.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

About

Kenc.Acmelib is a fully featured client for interacting with services supporting the ACME protocol for certificate acquisition, such as LetsEncrypt.

How to use

// create an RSA crypto service provider and create a key based off of it.
var rsaCryptoServiceProvider = new RSACryptoServiceProvider(2048);
var rsaKey = RSA.Create(rsaCryptoServiceProvider.ExportParameters(true));

// create a client and initialize it.
var acmeClient = new ACMEClient(new Uri(ACMEEnvironment.StagingV2), rsaKey, new HttpClient());
ACMEDirectory directory = await acmeClient.InitializeAsync();

var account = await acmeClient.RegisterAsync(new[] { "mailto:email@domain.test" });

for a full example of ordering, validation and exporting the requested certificate, see the Examples folder on GitHub.

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
1.0.13 136 11/7/2021
1.0.12-beta 93 10/26/2021
1.0.5-beta 101 7/9/2021