-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with HTTP/3 #228
Comments
No, it hasn't been tested. Please share more details about the error and how to reproduce the issue. |
I tried but failed to debug the issue. I worked around it by creating https://github.com/MarkCiliaVincenti/LetsNotWorryHowToEncrypt This is basically a Kestrel service that listens on port 80, uses LettuceEncrypt, exporting the .pfx to the domain name requested and permanently redirecting any HTTP traffic on port 80 to HTTPS. Then in my actual Kestrel app I just give it the path of the created pfx files, and there I can use HTTP/3. |
Interesting, we had this working in our HTTP/3 test setup, though I guess we didn't have an http/80 endpoint. |
Thanks for the description. https://github.com/MarkCiliaVincenti/LetsNotWorryHowToEncrypt returns HTTP 404 for me so I don't have a repro yet. @Tratcher's comment makes me think that LettuceEncrypt should be working, but I'll leave this open in case anyone can provide a minimal repro of the problem. |
I addressed the issues in
https://github.com/MarkCiliaVincenti/Tlscertificateloader instead and
switched to using Certbot. Certainly LettuceEncrypt and Certes don't allow
you to load HTTP/3 with full chain on Linux while also listening on port 80
to redirect traffic to HTTPS.
…On Sat, 13 Nov 2021, 05:32 Nate McMaster, ***@***.***> wrote:
Thanks for the description.
https://github.com/MarkCiliaVincenti/LetsNotWorryHowToEncrypt returns
HTTP 404 for me so I don't have a repro yet. @Tratcher
<https://github.com/Tratcher>'s comment makes me think that
LettuceEncrypt should be working, but I'll leave this open in case anyone
can provide a minimal repro of the problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF7U7YHAS6TVOJ7DVHMMGLLULXS4RANCNFSM5HEBVLTQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Are you sure this works? I tried it (without using Docker, admittedly) on Ubuntu 20.04 (with libmsquic installed of course) and got the following:
And that's besides the other problem that it doesn't send the full chain as per #229 |
Any updates? |
Use https://github.com/MarkCiliaVincenti/Tlscertificateloader with Certbot. |
I am also experiencing this issue, with the same error message of "The OnAuthenticate callback is not supported with HTTP/3". The error message suggests that LettuceEncrypt will need to be reworked somewhat to avoid using that callback if it is to support HTTP/3. The source code throwing the exception can be viewed here: https://source.dot.net/#Microsoft.AspNetCore.Server.Kestrel.Core/Middleware/HttpsConnectionMiddleware.cs,507 Dotnet 7, libmsquic 2.1.7, Ubuntu Server 22.04.1 (arm64). |
I hope this issue gets addressed, since I do not want to change to certbot again, but this is keeping me from using HTTP3 for quite some time now. |
Have you tried using https://github.com/MarkCiliaVincenti/Tlscertificateloader ? |
Without digging in too deep: Is it possible to combine both, so I must never even once use certbot? |
No this library will not do renewals for you. But there are other .NET libraries that just do the renewals for you. I created this project for personal use but put it public so that others could use it. Personally used certbot and set it once and forgot about it. |
Has this been tested with HTTP/3 yet please? I'm running into issues whereby the application shuts down if I try enabling HTTP/3.
The text was updated successfully, but these errors were encountered: