AutoHttps Library Offers Automatic TLS Renewal for ASP.NET Core Kestrel Apps
The archival of LettuceEncrypt in April 2025 left ASP.NET Core developers without a maintained solution for automatic TLS certificate management on Kestrel. Let's Encrypt has compounded the urgency by shortening certificate lifetimes to as little as six days and adopting ACME Renewal Information (RFC 9773), which requires clients to follow CA-issued renewal windows rather than fixed schedules. A developer has released AutoHttps, an MIT-licensed, dependency-free library that handles certificate issuance and renewal in-process, supports http-01 and dns-01 challenges, and complies with RFC 9773. Configuration requires a single builder call, and a migration guide is provided for teams moving from LettuceEncrypt. The solution is limited to setups where Kestrel itself terminates TLS, and does not apply when nginx, IIS, or a cloud load balancer handles certificates upstream.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in