-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
rustPull requests that update Rust codePull requests that update Rust code
Description
One of the biggest hurdles to running moq-relay is getting a certificate. We could simplify the setup process by using a Acme library to automatically provision and rotate TLS certificates.
LetsEncrypt has an API that performs a HTTP/TLS challenge to prove that you own a given domain name. moq-relay already requires a public IP address and listening on UDP, optionally listening on TCP too. We could leverage that to perform the challenge in-process without an external certbot process. I would use instant-acme.
Bonus points for saving the certificate to disk and only performing the challenge if it's missing or about to expire. This will avoid making LetsEncrypt a startup blocker and potentially avoid being rate limited.
Metadata
Metadata
Assignees
Labels
rustPull requests that update Rust codePull requests that update Rust code