Skip to content

Wildcard SSL does not automatically renew #1282

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

Closed
internetfreak opened this issue Aug 3, 2021 · 0 comments · Fixed by #1286
Closed

Wildcard SSL does not automatically renew #1282

internetfreak opened this issue Aug 3, 2021 · 0 comments · Fixed by #1286
Labels

Comments

@internetfreak
Copy link

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
When using a wildcard ssl certificate (entered as *.domain.tld on the domain field) then NPM can retrieve and manually renew the cert, but fails to renew it automatically. This happened since I got that certificate over the course of multiple versions of NPM.
I always get a mail from LE telling me my cert will run out that's how I noticed that something is not working.
My domain provider is INWX, all certificates with specified domains renew without issue.

Nginx Proxy Manager Version
2.9.6

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'SSL Certificates'
  2. Click on 'Add SSL Certificate' -> 'Let's Encrypt', enter *.domain.tld as domain name
  3. Toggle 'Use a DNS Challenge', enter your INWX network credentials, a cert should be retrieved
  4. Wait close to three months for the cert to expire (or get certbox to renew somehow without manually renewing within the UI)
  5. See that renew fails

If necessary to reproduce, I can provide a domain to test as I have as long as the domain and the credentials are used responsible.

Expected behavior
The certificate gets renewed just like all other certificates

Screenshots
image

Operating System
Debian 10

Additional context
This is what docker logs tell me:

[8/3/2021] [4:11:36 PM] [SSL      ] › ℹ  info      Renewing SSL certs close to expiry...
[8/3/2021] [4:12:07 PM] [SSL      ] › ✖  error     Error: Command failed: certbot renew --non-interactive --quiet --config "/etc/letsencrypt.ini" --preferred-challenges "dns,http" --disable-hook-validation
Failed to renew certificate npm-37 with error: Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. You may need to use an authenticator plugin that can do challenges over DNS.
All renewals failed. The following certificates could not be renewed:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant