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

Ensure certificate is generated with correct name #23

Open
jaywink opened this issue Jan 29, 2017 · 0 comments
Open

Ensure certificate is generated with correct name #23

jaywink opened this issue Jan 29, 2017 · 0 comments

Comments

@jaywink
Copy link
Owner

jaywink commented Jan 29, 2017

Sometimes either due to existing conflicting old certificates or via removal of domains from the original certificate (for example dropping of www. version), Certbot generates the actual cert files under a postfix -001.

This makes usage of these certs tricky since the user will most likely be pointing the web server to the cert without the -001 postfix.

Grep the output of cert renewal/issuing and if the right format name is not generated, fail the role execution (though only after restarting services).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant