Hi - I'm running Proxmox 8.2.2 and running into the following odd error trying to provision certificates using the Namecheap ACME DNS Plugin. I believe this same configuration worked prior to the 8.2 upgrade within the last monthacme
- Under Datacenter -> ACME, I've defined a challenge plugin using:
- Plugin ID: namecheap
- Validation Delay: 30 (default)
- DNS API: namecheap
- API Data:
- export NAMECHEAP_USERNAME="<username>"
export NAMECHEAP_API_KEY="<validapikey>"
export NAMECHEAP_SOURCEIP="<validsourceip>"
- export NAMECHEAP_USERNAME="<username>"
- I validated that the username, api key and source ip work using the namecheap api directly using curl.
- Under <node> -> System -> Certificates, I've defined a domain using:
- Challenge Type: DNS
- Plugin: namecheap
- Domain: <FQDN of node>
- When I click "Order Certificates Now", I get an error with the following message implying that the API Data values are not being passed as expected (or that the API KEY itself is not being specified by the command):
Code:
Loading ACME account details
Placing ACME order
Order URL: https://acme-v02.api.letsencrypt.org/acme/order/<redacted>/<redacted>
Getting authorization details from 'https://acme-v02.api.letsencrypt.org/acme/authz-v3/<redacted>'
The validation for <FQDN of node> is pending!
[Fri May 3 03:44:38 EDT 2024] No API key specified for Namecheap API.
[Fri May 3 03:44:38 EDT 2024] Create your key and export it as NAMECHEAP_API_KEY
[Fri May 3 03:44:38 EDT 2024]
[Fri May 3 03:44:38 EDT 2024] Error add txt for domain:_acme-challenge.<FQDN of node>
TASK ERROR: command 'setpriv --reuid nobody --regid nogroup --clear-groups --reset-env -- /bin/bash /usr/share/proxmox-acme/proxmox-acme setup namecheap <FQDN of node>' failed: exit code 1