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

No new certificate fetched when changing from LE staging to production #341

Open
mkauf opened this issue Jul 25, 2024 · 0 comments
Open

Comments

@mkauf
Copy link
Contributor

mkauf commented Jul 25, 2024

When the MDCertificateAuthority setting of a managed domain is changed from Let's Encrypt staging (https://acme-staging-v02.api.letsencrypt.org/directory) to Let's Encrypt production (https://acme-v02.api.letsencrypt.org/directory), mod_md does not fetch a new certificate.

mod_md continues to use the certificate from LE's staging environment. The problem is that browsers don't trust this certificate, they only trust certificates from LE's production environment.

I think mod_md should discard existing certificates for a managed domain if MDCertificateAuthority has changed.

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

2 participants