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

Add task/option to auto-generate cert with Let's Encrypt #54

Closed
jcalazan opened this issue Jul 15, 2016 · 0 comments
Closed

Add task/option to auto-generate cert with Let's Encrypt #54

jcalazan opened this issue Jul 15, 2016 · 0 comments

Comments

@jcalazan
Copy link
Owner

jcalazan commented Jul 15, 2016

Also add an option to include a cron job to auto-renew the cert.

Currently thinking of doing something like:

(before Nginx installation)

  1. Install certbot
  2. Run standalone command, pull fqdn from an env var.
  3. In the Nginx template, if option nginx_use_lets_encrypt is true, simply reference the cert and key to the default location created by certbot.
  4. Cron job to auto-renew monthly (cert is good for 3 months).

If someone has done this before, would love to hear your solution (or open a pull request :D)!

DavidCain pushed a commit to DavidCain/mitoc-ansible that referenced this issue Oct 17, 2016
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

1 participant