[GH-ISSUE #860] Renewing SSL cert using digitalocean DNS challenge fails #728

Closed
opened 2026-02-26 06:34:09 +03:00 by kerem · 1 comment
Owner

Originally created by @the-holger on GitHub (Feb 3, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/860

I have a setup using the digitalocean DNS challenge to get SSL certs from letsencrypt, specifically a wildcard cert for my domain, which is only available when using the DNS challenge.

I could generate the cert using nginx-proxy-manager without any problems, however I couldn't renew the certs. The webui just gives me a "timeout" error, in the docker logs for the container I found the following:

[2/3/2021] [8:58:38 AM] [SSL      ] › ✖  error     Error: Command failed: /usr/bin/certbot renew --non-interactive --quiet --config "/etc/letsencrypt.ini" --preferred-challenges "dns,http" --disable-hook-validation  
Renewal configuration file /etc/letsencrypt/renewal/npm-2.conf (cert: npm-2) produced an unexpected error: 'Namespace' object has no attribute 'dns_digitalocean_credentials'. Skipping.
0 renew failure(s), 1 parse failure(s)
    at ChildProcess.exithandler (child_process.js:308:12)
    at ChildProcess.emit (events.js:314:20)
    at maybeClose (internal/child_process.js:1051:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)

I have absolutely no idea where to start debugging, as the issuing of the certificate was no problem at all. Any help would be really appreciated!

Originally created by @the-holger on GitHub (Feb 3, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/860 I have a setup using the digitalocean DNS challenge to get SSL certs from letsencrypt, specifically a wildcard cert for my domain, which is only available when using the DNS challenge. I could generate the cert using nginx-proxy-manager without any problems, however I couldn't renew the certs. The webui just gives me a "timeout" error, in the docker logs for the container I found the following: ``` [2/3/2021] [8:58:38 AM] [SSL ] › ✖ error Error: Command failed: /usr/bin/certbot renew --non-interactive --quiet --config "/etc/letsencrypt.ini" --preferred-challenges "dns,http" --disable-hook-validation Renewal configuration file /etc/letsencrypt/renewal/npm-2.conf (cert: npm-2) produced an unexpected error: 'Namespace' object has no attribute 'dns_digitalocean_credentials'. Skipping. 0 renew failure(s), 1 parse failure(s) at ChildProcess.exithandler (child_process.js:308:12) at ChildProcess.emit (events.js:314:20) at maybeClose (internal/child_process.js:1051:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) ``` I have absolutely no idea where to start debugging, as the issuing of the certificate was no problem at all. Any help would be really appreciated!
kerem 2026-02-26 06:34:09 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chaptergy commented on GitHub (May 9, 2021):

Does your issue still persist?
Could you add what the content of your configuration file /etc/letsencrypt/renewal/npm-2.conf is? Does it by any chance include any line with standalone_supported_challenges? (See this certbot issue)

<!-- gh-comment-id:835872125 --> @chaptergy commented on GitHub (May 9, 2021): Does your issue still persist? Could you add what the content of your configuration file `/etc/letsencrypt/renewal/npm-2.conf` is? Does it by any chance include any line with `standalone_supported_challenges`? (See [this certbot issue](https://github.com/certbot/certbot/issues/6984))
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#728
No description provided.