Back

Err cert invalid authority

  • 0
  • Web
naveen
6 Apr, 2023, 13:18

I have created a droplet in digital ocean and i have deployed my react app in digital ocean. When i try accessing from my laptop its working but when i try the website from other devices, its showing the error as Invalid authority. Did i miss any step during deployment or do i need to change any environment variables?

TL;DR
User is experiencing an error with a certificate being invalid authority when accessing their React app on different devices. They are unsure if they need to make changes to the Appwrite console or use a self-signed certificate. The response suggests that the issue is with the server having a self-signed certificate and advises accepting it on the appwrite console. The user also mentions having issues with certbot and WordPress, indicating it may be a larger problem. There is no clear solution provided in the thread.
joeyouss
6 Apr, 2023, 14:22

Hi , To check you didn't miss anything - https://www.youtube.com/watch?v=RlXZWzUWtkE

naveen
6 Apr, 2023, 14:47

Yeah I too followed this video

joeyouss
6 Apr, 2023, 15:47

Hmm, can you share a screenshot of your error? its hard to debug without seeing the code or error

naveen
6 Apr, 2023, 16:19
naveen
6 Apr, 2023, 16:20

Everything works fine on my computer. But when i try to access the site from other systems, it shows this error

pandemoniun
6 Apr, 2023, 19:15

I have an issue with appwrite in DO too, it's certbot, doesn't create certificate, it's too strange, I try with a WP instalation that install let's encript, and issue with apache, I don't know, but it complex problem, may be DO or same configurations, but it's not only in appwrite, in apache with WP same problem, cant get certificate. You need to install https for api requests to avoid errors. Make all thing: env production, domain, secure mail, var change to point the domain, etc... But my problem is not isolate to appwrite, with WP same problem. May be too many request to certbot, I will try later, but I couldn't find the error

Drake
6 Apr, 2023, 19:23

Your problem is your server only has a self signed certificate and not a valid certificate so you need to accept the self signed certificate by browsing to the appwrite console before using your app

Drake
6 Apr, 2023, 19:24

Best to create a separate post

pandemoniun
6 Apr, 2023, 19:26

Sorry, I don't understand this, could you explain more, no get that point, self signed?, browsing appwrite? please could you explain, I getting mad trying to get the certificate, I know is host problem, but it's getting so painfull

Drake
6 Apr, 2023, 19:27

Your problem is different than the original posters problem so it would be best to discuss your problem in a separate post

pandemoniun
6 Apr, 2023, 19:27

ok, open new issue

naveen
7 Apr, 2023, 04:13

Thank you now I understood the problem .Now What should I change in appwrite console? And is self signed certificate okay for security?

Drake
7 Apr, 2023, 04:22

no it's not okay. you need to get a domain

naveen
7 Apr, 2023, 04:30

I need to get a domain with valid ssl for appwrite, right?

Drake
7 Apr, 2023, 04:42

You need a domain. Appwrite can generate the SSL certificate for you

naveen
7 Apr, 2023, 04:42

Ok thank you

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