Back

How to enable SSL

  • 0
  • Self Hosted
ReLaXx
7 May, 2024, 10:34

I followed the docs, but I still get an error when i try to generate my certificate.

  1. I created 2 A records that points to my appwrite instance. So, I can access appwrite using https://appwrite.savoro-app.ro
  2. I changed _APP_ENV=production , _APP_DOMAIN=appwrite.savoro-app.ro, _APP_DOMAIN_TARGET=appwrite.savoro-app.ro and _APP_SYSTEM_SECURITY_EMAIL_ADDRESS=savoroapp@gmail.com
  3. I ran docker compose up -d and everything is Running
  4. I ran docker compose exec appwrite ssl and it prints Scheduling a job to issue a TLS certificate for domain: appwrite.savoro-app.ro
TL;DR
Developers are struggling to enable SSL for their appwrite instance despite following the documentation and creating A records. They have checked the logs and the SSL is still invalid. One developer shared a log output from running a specific command.
ReLaXx
7 May, 2024, 10:37
  1. I saw my SSL is still invalid after some time (even on incognito) then i ran docker compose logs appwrite-worker-certificates and received this:
ReLaXx
7 May, 2024, 10:38
  1. Next i checked what's inside /var/log/letsencrypt/letsencrypt.log and I got this:
D5
7 May, 2024, 10:40
ReLaXx
7 May, 2024, 10:41

Yes

ReLaXx
7 May, 2024, 10:41

I think that one can be deleted

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