Skip to content
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

Great work! Possible to show auto letsencrypt cert renewal with reverse proxy example? #1210

Closed
hiqsociety opened this issue Mar 3, 2022 · 2 comments

Comments

@hiqsociety
Copy link

  1. Possible to show auto letsencrypt cert renewal with reverse proxy example?

Looking to use as replacement to current implementation.

  1. Also, possible to integrate with monoio's hyper?
    https://github.com/bytedance/monoio/blob/master/examples/hyper_server.rs
@camshaft
Copy link
Contributor

camshaft commented Mar 3, 2022

Possible to show auto letsencrypt cert renewal

It's definitely possible. But the example would be quite large since it needs to also include a HTTP/1 server to respond to the ACME challenges.

with reverse proxy example?

A reverse proxy example should be pretty straightforward. But note that s2n-quic doesn't ship with a HTTP/3 implementation so that would need to come from h3, for example. You can see an example of how to integrate with it in the s2n-quic-h3 crate. Keep in mind that the h3 crate does not have a release on crates.io so the API might change/break at any time.

Also, possible to integrate with monoio's hyper?

Hyper currently does not have HTTP/3 support (see hyperium/hyper#1818 (comment)). You'd have to use the h3 crate directly. But it should be possible to use that with tower.

Regarding monoio: it doesn't appear to have any UDP support so that wouldn't be possible: https://github.com/bytedance/monoio/tree/master/monoio/src/net.

@camshaft camshaft closed this as completed Mar 3, 2022
@cameronelliott
Copy link

@hiqsociety I've been working on a similar project.
You can find an example of getting a Letsencrypt cert here using DNS, not HTTP/S challenges:
https://github.com/cameronelliott/acme-lib/blob/dns01-duckdns/examples/dns01-duckdns.rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants