Back

Custom domain behind Nginx Proxy Manager - how generate certificate

  • 0
  • Self Hosted
ddenev
30 Oct, 2024, 14:58

Self-hosted Appwrite behing Nginx Proxy Manager. NPM takes care of certificates via DNS challenge. I want to add new Custom Domain but it is failing at the certificate generation step:

TypeScript
Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Performing the following challenges:
http-01 challenge for domain.example.com
Using the webroot path /storage/certificates for all unmatched domains.
Waiting for verification...
Challenge failed for domain domain.example.com
http-01 challenge for domain.example.com
Cleaning up challenges
Some challenges have failed.
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.

How to get pass this verification failure? Can I disable Appwrite from trying to gen certificate for the custom domain? Can I configure Appwrite to use DNS challenge?

TL;DR
Custom domain certificate generation is failing due to a verification issue. You can try using DNS challenge method instead of http-01 challenge. To disable Appwrite from trying to generate a certificate, configure it to use DNS challenge. This should resolve the verification failure.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more