Back

[Solved] Digital Ocean server problem, not get certificate to appwrite

  • 0
  • Self Hosted
pandemoniun
6 Apr, 2023, 20:43
TL;DR
User is experiencing a problem with getting a certificate for Appwrite on a Digital Ocean server. They tried using certbot and Let's Encrypt with DNS TXT records, but it didn't work. The user thinks it may be an issue with the domain's TLD and suggests waiting for DNS propagation. Another user suggests that the problem may be with the domain or server configuration. The issue is marked as solved, but it's unclear how it was resolved.
Drake
6 Apr, 2023, 20:46

nvm

pandemoniun
6 Apr, 2023, 20:46

Faster way is one click, I deploy with docker instalation and with appwrite instalation, but I destroy droplets, I need to deploy quickly and one click is better

Drake
6 Apr, 2023, 20:47

anyways..i think something is wrong with your domain <> server. you should be able to browse to your domain and see the appwrite console. that doesn't seem to be working

pandemoniun
6 Apr, 2023, 20:48

I think the same, is the domain, I tell you, create an issue, is not appwrite

pandemoniun
6 Apr, 2023, 20:50

Better I wait, the domain is very new, may be DNS issue, needs to pass more time, I'm not sure but less than 48 hours now

Drake
6 Apr, 2023, 20:55

I'm not sure how you're trying to generate a certificate outside of appwrite...i just know appwrite isn't configured right for your domain

Drake
6 Apr, 2023, 20:55

what happens if you browse to your domain?

pandemoniun
6 Apr, 2023, 21:13
pandemoniun
6 Apr, 2023, 21:14

Generate manually with certbot

pandemoniun
6 Apr, 2023, 21:14
pandemoniun
6 Apr, 2023, 21:18

Maybe appwrite have an issue with some domains TLD

Drake
6 Apr, 2023, 21:19

Appwrite's cert works now...did you fix your server somehow?

pandemoniun
6 Apr, 2023, 21:21

Install cerbot, install lets encrypt and run in ssh sudo certbot certonly
\ --manual
\ --preferred-challenges=dns
\ --email &#97;&#x64;&#109;&#105;&#x6e;&#x40;&#101;&#x78;&#x61;&#x6d;&#112;&#108;&#x65;&#x2e;&#99;&#111;&#109;
\ --server https://acme-v02.api.letsencrypt.org/directory
\ --agree-tos
\ -d *.mandala-apps.xyz

pandemoniun
6 Apr, 2023, 21:25

Ah I display in server DNS TEXT<:appwritefire:823999000330895380>

pandemoniun
6 Apr, 2023, 21:26
Drake
6 Apr, 2023, 21:26

what else did you do outside of that?

pandemoniun
6 Apr, 2023, 21:27

Nothing else, just DNS Text in DO, certbot check for that, and voila

pandemoniun
6 Apr, 2023, 21:29

Steven, I Know that can be run in ssh certbot for install certificate, just old style, works

pandemoniun
6 Apr, 2023, 21:31

Now I destroy the droplet, tomorrow I will try again, if its works, nothing else, for appwrite certificates or cerbot

joeyouss
7 Apr, 2023, 03:10

Sure @pandemoniun - let us know how that goes

pandemoniun
7 Apr, 2023, 06:49

Sorry don't understand, I told you the process, just use let's encrypt and certbot running in ssh, certbot tell me to deploy DNS TXT with that hash, I enter in DO DNS that record TXT, and run cerbot, nothing else. Appwrite handle certification and renewals, with this aproach you may run manually renewals or install a cronjob to handle for you, it's better with appwrite, but Steven said that appwrite .xyz TLD doesn't allow yet, I prefer to do with appwrite, but I have that issue and I do it manually

pandemoniun
7 Apr, 2023, 06:51

It's a bypass, not best solution in appwrite, appwrite handle certifications and renewals it's own

pandemoniun
7 Apr, 2023, 06:56

I have a domain for testing and use DO for test proposing, it's very confortable one click instalations to test appwrite, you can deploy it quickly and test all the things, to install docker and appwrite by SSH is longer way for testing but more recomended for production server and adjust all thing manually, but now I'm testing, searching for speed in deploys

pandemoniun
7 Apr, 2023, 21:25

[Solved] Digital Ocean server problem, not get certificate to 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