Back

Importing an existing SSL certificate to Appwrite

  • 0
  • Self Hosted
  • General
THE-E
5 May, 2024, 17:11

Hi there,

I have self-hosted appwrite on a VM, which had a nginx proxy manager issuing the SSL certificates. NPM was pointing to the appwrite container and had the subdomain baas.example.com as subdomain. Now I have moved the appwrite endpoint to a DigitalOcean appwrite droplet. The only thing what is missing is the SSL certificate. NPM allows me download the SSL certificate for the subdomain baas.example.com but I don't know how to import the certificate into the DigitalOcean appwrite droplet. If I didn't misread the docs, I would need to use my TLD (example.com) to be pointing to the appwrite instance. But the the TLD is used for displaying my website. So what exactly should I do to get my appwrite instance SSL certified?

TL;DR
Developer moved Appwrite endpoint to DigitalOcean droplet, missing SSL certificate from previous Nginx Proxy Manager setup. Wants to know how to import the SSL certificate to the new droplet without affecting the main TLD currently in use. Advice: Use Certbot to generate SSL certificates for the DigitalOcean droplet and configure it to serve the Appwrite instance.$query->row['query']
Steven
5 May, 2024, 17:16

Don't you have NPM on your new server?

THE-E
5 May, 2024, 17:18

No NPM is not installed on the new server (yet). I would only add it if necessary. Wasn't Traefik also capable to do what nginx (NPM) can, like issuing, renewing certificates etc.?

THE-E
5 May, 2024, 17:57

Generally, isn't appwrite designed to cover the certificate handling etc. by its own? Or is using nginx proxy manager of advantage?

Steven
5 May, 2024, 17:58

You said you have other apps on that server too. How are you handling that?

THE-E
5 May, 2024, 17:59

In the past I used to have other apps. Now I wanted to have a dedicated appwrite server/droplet. So there is now handling required besides appwrite for this instance anymore.

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