Rank 1: Thread
I followed the instructions on the docs on how to set up Appwrite certificates properly, but even though I did all the steps I can't get them to work!
WHAT I DID:
- double-checked that port 80 and 443 are opened
- double-checked my server is accessible using the domain I've chosen (let's say
mydomain.com) - double-checked that the
_APP_ENVvariable is set toproductionand that_APP_DOMAINand_APP_SYSTEM_SECURITY_EMAIL_ADDRESSare correct in the.envfile of - tried to create a test file in
/storage/certificates/.well-known/acme-challenge/(inside theappwrite-worker-certificatescontainer) and access it typinghttps://mydomain.com/.well-known/acme-challenge/testin my browser
WHAT I GET:
When I try to generate the certificate using docker compose exec appwrite ssl, in the appwrite-worker-certificates logs I see:
appwrite-worker-certificates | [notice] Starting work on (Job{v1-certificates} | ID: 89a061a3a97bad22af7f2c4053a1d86d | CertificatesV1 | [{"project":null,"domain":{"domain":"mydomain.com"},"skipRenewCheck":true}])
appwrite-worker-certificates | Cannot renew domain (mydomain.com) on attempt no. 8 certificate: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates | Some challenges have failed.
appwrite-worker-certificates | 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.
appwrite-worker-certificates |
appwrite-worker-certificates | [notice] (Job{v1-certificates} | ID: 89a061a3a97bad22af7f2c4053a1d86d | CertificatesV1 | [{"project":null,"domain":{"domain":"server.lezsoft.com"},"skipRenewCheck":true}]) has finished
And inside the letsencrypt log file there is this error: https://privatebin.devol.it/?52af7f3c1d748f3c#GJFHv5iDnNNzhh1aUEUqDHnaFvKQBx4AhM4zjyyqdeFt
How can I fix it?