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

letsencrypt support requires manual action #116

Open
msherman64 opened this issue Sep 13, 2021 · 1 comment
Open

letsencrypt support requires manual action #116

msherman64 opened this issue Sep 13, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@msherman64
Copy link
Contributor

msherman64 commented Sep 13, 2021

Letsencrypt support currently requires manually requesting the first certificate.

This is because enabling letsencrypt support tells haproxy to use the TLS certificate, but letsencrypt runs after haproxy, and uses it for public access.

Therefore, enabling it only works if you already have a valid cert configured!

Currently, you can run the process manually, in this order.

  1. Run deploy with letsencrypt disabled
  2. use docker exec -it letsencrypt_certbot bash to manually run certbot
  3. copy certificate out to site-config/certificates folder
  4. enable letsencrypt, and re-run deploy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants