I found it surprisingly difficult to get Proxmox to use Let's Encrypt certificates with a DNS challenge for my Namecheap-hosted domain


To make a long story short, I spent quite a bit of time struggling to get Proxmox to put the necessary TXT records into my Namecheap DNS. The API was set up and worked fine, and in fact was successfully used to get SSL certs for my Home Assistant instance.

The secret sauce was in the ACME DNS Plugin configuration. The Validation Delay needed to be high (180 seconds), the DNS API was (of course) namecheap, and the API Data needed 4 values:
NAMECHEAP_API_USER=myNamecheapUserName
NAMECHEAP_API_KEY=myNamecheapAPIKey
NAMECHEAP_USERNAME=myNamecheapUserName
NAMECHEAP_SOURCEIP=myPublicIP

Oh, and be sure that the values are *not* enclosed in quotation marks.

Here's a good tutorial that covers the general process using Cloudflare DNS.
Here's a Reddit post that identified the problem I was encountering calling the Namecheap API to add the ACME challenge TXT record.