-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
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
I'm trying to set up Namecheap Let's Encrypt Certificate. Unfortunately with no success.
Getting that error message in UI:
Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-38" --agree-tos --email "my-emai-is-herel@gmail.com" --domains "*.my-domain-is-here.com,my-domain-is-here.com" --authenticator dns-namecheap --dns-namecheap-credentials "/etc/letsencrypt/credentials/credentials-38" Saving debug log to /var/log/letsencrypt/letsencrypt.log Unable to determine zone identifier for my-domain-is-here.com using zone names: ['my-domain-is-here.com', 'com'] Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.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)
Nginx Proxy Manager Version
2.9.19
To Reproduce
Steps to reproduce the behavior:
- Go to 'SSL Certificates'
- Click on 'Add SSL Certificate' -> "Let's Encrypt'
- Fill in your domains names: my-domain-is-here.com and *.my-domain-is-here.com
- Fill in your email address for Let's Encrypt
- Select Use a DNS Challenge
- Select Namecheap DNC Provider
- Put your name to dns_namecheap_username
- Put Nmaecheap api key to dns_namecheap_api_key
- Select I agree
- Click Save
- Observ error message
Expected behavior
Successful certificate retrial
Screenshots
Operating System
Mac OS 12.5.1, Safari 15.6.1 ,Firefox 102.06esr
Additional context
I have certbot set up on my host mashie. It could successfully fetch certificates. I could import that in npm UI.
So certbot is working for me in manual mode with using TXT_RECORD _acme-challenge.
The certbot in container has a strange logs:
2023-01-12 15:15:31,571:DEBUG:certbot._internal.log:Exiting abnormally: Traceback (most recent call last): File "/usr/local/bin/certbot", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.7/dist-packages/certbot/main.py", line 19, in main return internal_main.main(cli_args) File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/main.py", line 1736, in main return config.func(config, plugins) File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/main.py", line 1590, in certonly lineage = _get_and_save_cert(le_client, config, domains, certname, lineage) File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/main.py", line 138, in _get_and_save_cert lineage = le_client.obtain_and_enroll_certificate(domains, certname) File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/client.py", line 516, in obtain_and_enroll_certificate cert, chain, key, _ = self.obtain_certificate(domains) File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/client.py", line 428, in obtain_certificate orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names) File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/client.py", line 496, in _get_order_and_authorizations authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort) File "/usr/local/lib/python3.7/dist-packages/certbot/_internal/auth_handler.py", line 88, in handle_authorizations resps = self.auth.perform(achalls) File "/usr/local/lib/python3.7/dist-packages/certbot/plugins/dns_common.py", line 76, in perform self._perform(domain, validation_domain_name, validation) File "/usr/local/lib/python3.7/dist-packages/certbot_dns_namecheap/dns_namecheap.py", line 62, in _perform self._get_namecheap_client().add_txt_record(domain, validation_name, validation) File "/usr/local/lib/python3.7/dist-packages/certbot/plugins/dns_common_lexicon.py", line 47, in add_txt_record self._find_domain_id(domain) File "/usr/local/lib/python3.7/dist-packages/certbot/plugins/dns_common_lexicon.py", line 110, in _find_domain_id .format(domain, domain_name_guesses)) certbot.errors.PluginError: Unable to determine zone identifier for my-domain-is-here.com using zone names: ['my-domain-is-here.com', 'com'] 2023-01-12 15:15:31,572:ERROR:certbot._internal.log:Unable to determine zone identifier for my-domain-is-here.com using zone names: ['my-domain-is-here.com', 'com']
Please note domain was edited to my-domain-is-here term