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

Certbot Automatic Certificate Renewal #210

Open
morganney opened this issue May 19, 2024 · 0 comments
Open

Certbot Automatic Certificate Renewal #210

morganney opened this issue May 19, 2024 · 0 comments
Labels
cd Related to deployment automation. enhancement New feature or request web Related to the web package and nginx changes.

Comments

@morganney
Copy link
Owner

Currently I am using the manual certification process with certbot:

sudo certbot certonly --manual --preferred-challenges dns -d busmap.online -d try.busmap.online

I forget the exact reasons why I am doing it this way (most certainly because other methods weren't working).

This method has two shortcomings:

  • Requires deploying a DNS TXT record for each registered domain.
  • Prevents automatic renew with the following reasons:
    • This certificate will not be renewed automatically. Autorenewal of --manual certificates requires the use of an authentication hook script (--manual-auth-hook) but one was not provided. To renew this certificate, repeat this same certbot command before the certificate's expiry date.

Look into the --manual-auth-hook option and see what that entails. Most likely requires a script that sets up the necessary DNS TXT challenges. That, or find a way to support automatic renewal with certbot on the EC2 intanance.

@morganney morganney added enhancement New feature or request cd Related to deployment automation. web Related to the web package and nginx changes. labels May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cd Related to deployment automation. enhancement New feature or request web Related to the web package and nginx changes.
Projects
None yet
Development

No branches or pull requests

1 participant