LettuceEncrypt 1.1.0

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.

Suggested Alternatives

LettuceEncrypt 1.1.1

Additional Details

1.1.0 has a bug which causes certificate renewals and new certs to get stuck in an infinite loop. Please upgrade to 1.1.1

There is a newer version of this package available.
See the version list below for details.
Install-Package LettuceEncrypt -Version 1.1.0
dotnet add package LettuceEncrypt --version 1.1.0
<PackageReference Include="LettuceEncrypt" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LettuceEncrypt --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LettuceEncrypt, 1.1.0"
#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 LettuceEncrypt as a Cake Addin
#addin nuget:?package=LettuceEncrypt&version=1.1.0

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

Release Notes

New features:
* Add API for controlling whether HTTP-01, TLS-ALPN-01, or both challenge types are used (#197)
* create abstraction for SNI certificates in Kestrel (#108)
* add API to configure LettuceEncrypt when also calling 'UseKestrel' to configure its HTTPS defaults or endpoints (#109)

Bug fixes:
* workaround bug in Windows SSL stream when generating temporary self-signed certs (#110)
* fix race condition  causing domain validation to valid sometimes. Run TLS-ALPN-01 first then HTTP-01 (if needed). Don't run in parallel (#198)
* Don't unset other HTTPS adapters which configure a OnAuthenticate callback (#199)

Other:
* Update package to target .NET Core 3.1 as 3.0 is no longer supported by Microsoft

NuGet packages (3)

Showing the top 3 NuGet packages that depend on LettuceEncrypt:

Package Downloads
LettuceEncrypt.Azure
Provides API for configuring ASP.NET Core to automatically generate HTTPS certificates and store them in Azure Key Vault. See https://nuget.org/packages/LettuceEncrypt for more details.
Stormancer.LettuceEncrypt
Let's Encrypt plugin for Stormancer
Zen.Web.SelfHost
Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.1 310 7/9/2021
1.1.0 1,084 6/13/2021
1.1.0-beta.81 542 5/2/2021
1.1.0-beta.73 7,517 7/9/2020
1.1.0-beta.60 489 6/7/2020
1.1.0-beta.19 197 1/17/2021
1.0.1 11,723 11/28/2020
1.0.0 12,196 5/26/2020
1.0.0-beta.6 239 5/21/2020