NginxProxyManager / NginxProxyManager/nginx-proxy-manager
cPanel DNS SSL plugin give errors
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34.2k
- Forks
- 3.9k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 20
Description
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image?
No - 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
If the module is enabled its give this error in the docker log
app_1 | [12/20/2022] [10:09:08 PM] [SSL ] › ✖ error Error: Command failed: certbot renew --non-interactive --quiet --config "/etc/letsencrypt.ini" --preferred-challenges "dns,http" --disable-hook-validation
app_1 | An unexpected error occurred:
app_1 | AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator'
app_1 |
app_1 | at ChildProcess.exithandler (node:child_process:402:12)
app_1 | at ChildProcess.emit (node:events:513:28)
app_1 | at maybeClose (node:internal/child_process:1100:16)
app_1 | at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
app_1 |QueryBuilder#allowEagermethod is deprecated. You should useallowGraphinstead.allowEagermethod will be removed in 3.0
app_1 |QueryBuilder#eagermethod is deprecated. You should use thewithGraphFetchedmethod instead.eagermethod will be removed in 3.0
app_1 | QueryBuilder#omit is deprecated. This method will be removed in version 3.0
app_1 | Model#$omit is deprected and will be removed in 3.0.
Nginx Proxy Manager Version
v2.9.19
To Reproduce
Steps to reproduce the behavior:
- Go to SSL cert and add
- Type domain.com and *.domain.com
- Select DNS challenge
- Select cPanel and set all settings
Error in NPM
Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-2" --agree-tos --email "email@domain.com" --domains "*.domain.com,domain.com" --authenticator cpanel --cpanel-credentials "/etc/letsencrypt/credentials/credentials-2"
An unexpected error occurred:
AttributeError: module 'certbot.interfaces' has no attribute 'IAuthenticator'
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-ok7p235n/log or re-run Certbot with -v for more details.at ChildProcess.exithandler (node:child_process:402:12) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1100:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
Operating System
Ubuntu X86
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the cPanel DNS challenge using the reported Docker image and certbot command, then inspect the Docker log for the certbot.interfaces.IAuthenticator error. Done means both certificate creation and renewal complete without that AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, node.js
- Domain
- infrastructure, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100