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

switching between staging and production fails. #11

Open
bsutton opened this issue Dec 9, 2023 · 0 comments
Open

switching between staging and production fails. #11

bsutton opened this issue Dec 9, 2023 · 0 comments

Comments

@bsutton
Copy link
Collaborator

bsutton commented Dec 9, 2023

When testing a acme client I always start with a staging cert to avoid the letsencrypt rate limiter.

Once I know everything is working I then switch to the production cert.

The problem is that lets encrypt fails to obtain the production certificate because it tries to use the existing staging account under the /etc/letsencrypt/live directory.

The cause for the failure is non-obvious.

I think we should look to have separate paths for the production and staging account.

Perhaps:

/etc/letsencrypt/live/staging
/etc/letsencrypt/live/production

This would make testing easier as a dev an move between staging and production certs without worrying about cleaning up the old accounts.

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