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

Does it make sense to uninstall letsencrypt certbot? #2

Open
alexeyzimarev opened this issue Jul 3, 2019 · 5 comments
Open

Does it make sense to uninstall letsencrypt certbot? #2

alexeyzimarev opened this issue Jul 3, 2019 · 5 comments

Comments

@alexeyzimarev
Copy link

LetsEntrypt certificate expire after a short while, does it make sense to remove the certbot or maybe it's a better idea to keep it and set up a cron job to run every now and then to renew the certificate?

@mherrmann
Copy link
Owner

Yes, I'd set up a cron job to renew the certificate. Say, once a month. I think you can use the following script:

git clone https://github.com/letsencrypt/letsencrypt
sudo service nginx stop || true
letsencrypt/letsencrypt-auto --standalone --non-interactive --email [email protected] --agree-tos auth -d YOUR_SENTRY_DOMAIN
sudo service nginx start || true
rm -rf letsencrypt

@liamaharon
Copy link

Thanks @mherrmann!

@mherrmann
Copy link
Owner

Happy it helps others :-)

@jeff-h
Copy link

jeff-h commented Apr 1, 2020

Could the script set up this cron job so it's all automatic?

@mherrmann
Copy link
Owner

Sure @jeff-h. If you figure it out, please submit a PR. (I don't have time to look at this.)

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

4 participants