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

Automate Lets Encrypt Certbot SSL creation noninteractively if network reachable #29

Open
3 tasks
gregelin opened this issue Jun 25, 2022 · 0 comments
Open
3 tasks

Comments

@gregelin
Copy link
Contributor

As a user installing GovReady-Q using govready-deployments, I'd like to automatically get the SSL certificate installed if I'm on the public internet.

  • Gather information relevant for SSL
  • Check if Internet is accessible
  • Run certbot non-interactively

Code snippet:

pip install certbot-dns-google

certbot run --non-interactive --agree-tos \
--no-eff-email \
--no-redirect \
--email '[email protected]' \
--dns-google \
--installer nginx \
--domains "sandbox-poams.govready.com"
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