Back

Problem creating custom domain certificate

  • 0
  • Self Hosted
Philipp
17 Jan, 2024, 19:19

I am running appwrite behind a nginx reverse proxy. I created a custom domain and the verification worked. The certificate creation did not. It shows a status failed and this message:

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 ...
Using the webroot path /storage/certificates for all unmatched domains.
Waiting for verification...
Challenge failed for ...
http-01 challenge for ...
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.

Can I somehow access appwrites letsencrypt logs, is this mounted somewhere?

TL;DR
Problem: Certificate creation for a custom domain failed. The error message indicates that the challenge for the HTTP-01 authorization failed. Possible Solution: Check the logs in the `appwrite-worker-certificates` container to investigate further. Additional Information: The developer is running Appwrite behind an Nginx reverse proxy and wants to know if they can access Appwrite's Let's Encrypt logs.
ideclon
17 Jan, 2024, 19:33

The logs are should be in the appwrite-worker-certificates container, I think

Philipp
17 Jan, 2024, 19:44
ideclon
17 Jan, 2024, 19:52

It looks like nginx is intercepting the cert challenges, so they’re not reaching Appwrite

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