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 role needs to handle first-time registration #151

Open
jamezpolley opened this issue May 5, 2020 · 0 comments
Open

Certbot role needs to handle first-time registration #151

jamezpolley opened this issue May 5, 2020 · 0 comments

Comments

@jamezpolley
Copy link
Member

In handling #150 it was discovered that the current certbot role does not handle the case where it's never been used with an ACME server before. In that case, it must accept the server's TOS and provide a contact email address in order to create an account before it can register certificates.

A simplistic fix for this was used in b69e10c - simply hard-coding the relevant flags on the command-line.

A better fix for this might be to check for the existence of /etc/letsencrypt/accounts/{{ SERVERPATH }}/. If that's not found, use a supplied email address to register a new account prior to the commands which generate the certificate.

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