Skip to content

Automated TLS certificate rotation with certbot #1404

Discussion options

You must be logged in to vote

Hi there,

Thanks for getting in touch! I'm going to tackle different parts of your questions in sections.

The temporary route

The word "temporary" there is sort of a misnomer. The reason it's temporary is because technically we only need this until certbot is happy that it can reach the token file on that route and issues the certificates. After that we could remove the routing to the .well-known path. We don't have to, because it's useful to keep it around when renewal and rollover comes around.

Certbot uses Let's Encrypt's HTTP-01 challenge here.

In order to do this without shutting down Unit:

  1. query your current configuration from the Unit instance
  2. add the route match rule for the toke…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@createyourpersonalaccount
Comment options

Answer selected by createyourpersonalaccount
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants