.NET 5 support
See original GitHub issueWhile setting up LettuceEncrypt (DigitalOcean droplet, .NET 5 RC, ASP.NET Core app via docker) I noticed the following warning:
warn: LettuceEncrypt.Internal.AcmeCertificateLoader[0]
LettuceEncrypt can only be used with Kestrel and is not supported on Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl servers. Skipping certificate provisioning.
There’s a sanity check in https://github.com/natemcmaster/LettuceEncrypt/blob/main/src/LettuceEncrypt/Internal/AcmeCertificateLoader.cs
that specifically checks the IServer
instance is in fact a KestrelServer
.
After checking Kestrel’s repo it appears there is now a KestrelServer
and a KestrelServerImpl
, both implementing IServer
(KestrelServer
wraps/decorates KestrelServerImpl).
Is this an easy fix or an indication of further differences in dotnet 3.1 vs 5 when it comes to Kestrel? How does .NET 5 support fit into the roadmap? Am I just dumb and misinterpreting something?
Thanks for your hard work!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:15 (7 by maintainers)
Top Results From Across the Web
.NET and .NET Core official support policy - Dot.net
Out of support versions ;.NET 5, November 10, 2020, 5.0.17, May 10, 2022, May 10, 2022 ;.NET Core 3.1, December 3, 2019, 3.1.32,...
Read more >Microsoft .NET - endoflife.date
Check end-of-life, release policy and support schedule for Microsoft .NET.
Read more >NET 5 - Supported OS versions
Alpine 3.14 and Debian 11 are now supported with the .NET 5.0.10 and .NET Core 3.1.19. The operating system support pages for .NET...
Read more >How to Prepare for .NET 5 End-of-Support on May 8
How to Prepare for .NET 5 End-of-Support on May 8 · Open the project file (the .csproj, .vbproj or *.fsproj file). · Change...
Read more >.NET 5 has reached End of Life
NET 6 is ending and support for .NET 5 ends on May 10, 2022 (yes, in a couple of days). .NET Supported versions...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The beta “preview” package does not have support for .NET 5. The full release 1.0.1 does have support for .NET 5.
You can use the version of the package from
origin/main
which contains the features and API of version 1.1.0-beta.73 and .NET 5 support.We need a new preview package to be built and deployed on NuGet.
This issue is open since October and I tried the last 3 pre-releases and they all fail for me in .NET5. Also there is this open issue: https://github.com/natemcmaster/LettuceEncrypt/issues/165 saying use pre-release because main version isn’t working.
Sorry but I give up on this package…