Back

Function custom domain contains a self signed certificate

  • 0
  • Web
Drake
26 Sep, 2023, 01:59

What version of Appwrite are you on and was it a clean install or did you upgrade?

TL;DR
Summary: The user is experiencing issues with a self-signed certificate when using a custom domain in Appwrite. They have tried retrying the verification process and checking the logs, but the issue persists. They also provide information about their Docker installation and ask for further assistance. Solution: There is no clear solution provided in the support thread. The user mentions that they will try to reproduce the issue and suggests trying a domain that is not deeply nested. It is also mentioned that Appwrite should be providing a Let's Encrypt certificate by default. The support team asks for more information about the Appwrite installation and version.
watzon
26 Sep, 2023, 02:00

Here's this as well. It was showing unknown before, but now it's Traefik's default cert.

watzon
26 Sep, 2023, 02:00

Fresh install today using 1.4.3

Drake
26 Sep, 2023, 02:00

This is the default that Appwrite/traefik uses

watzon
26 Sep, 2023, 02:01

It should be giving it a letsencrypt cert though, right?

Drake
26 Sep, 2023, 02:03

Can you try a domain that isn't as deeply nested?

Drake
26 Sep, 2023, 02:04

This also sounds really weird especially if the certificate status is generated 🧐

watzon
26 Sep, 2023, 02:04

My thoughts exactly. It doesn't take time doing the generating either. It's instantanious.

watzon
26 Sep, 2023, 02:05

Trying another domain

watzon
26 Sep, 2023, 02:07

Same thing with another domain. Tried both with A records as well as a CNAME pointing to my main domain.

Drake
26 Sep, 2023, 02:08

Hmm okay. I'll have to try and reproduce this tomorrow

watzon
26 Sep, 2023, 02:23

Thanks. Let me know if there's anything else I can do to help

watzon
26 Sep, 2023, 02:24

Checked the logs for the certificate service container again and there's nothing

Drake
27 Sep, 2023, 00:37

this first entry...that was the default one created after you created your function wasn't it?

Drake
27 Sep, 2023, 00:48

so i just tested creating a custom domain and it seemed to work fine for me 🧐

Drake
27 Sep, 2023, 00:50

how did you install appwrite? did you have a installation previously? what's the output of docker inspect appwrite_appwrite-mariadb?

watzon
28 Sep, 2023, 21:18

Yes it was

watzon
28 Sep, 2023, 21:18

I installed the standard way listed on the website. Here's the output:

TypeScript
root@appwrite:~# docker inspect appwrite_appwrite-mariadb
[
    {
        "CreatedAt": "2023-09-25T23:00:47Z",
        "Driver": "local",
        "Labels": {
            "com.docker.compose.project": "appwrite",
            "com.docker.compose.version": "2.20.2",
            "com.docker.compose.volume": "appwrite-mariadb"
        },
        "Mountpoint": "/var/lib/docker/volumes/appwrite_appwrite-mariadb/_data",
        "Name": "appwrite_appwrite-mariadb",
        "Options": null,
        "Scope": "local"
    }
]
Drake
28 Sep, 2023, 21:34

ok looks like the ceritifcate status will be generated if verification status is verified...

Drake
28 Sep, 2023, 21:35

can you:

  1. open browser dev tools
  2. switch to network tab so you can look for the network logs
  3. filter the list for fetc/xhr requets that incldue rules
  4. clear the results
  5. refresh the page
  6. check the results of the last request and look for the logs param
watzon
29 Sep, 2023, 03:02
watzon
29 Sep, 2023, 03:02

The "logs" param is empty

watzon
29 Sep, 2023, 03:04

Tried doing "Retry Verification" as well

watzon
29 Sep, 2023, 03:04

This is all that happens

Drake
30 Sep, 2023, 00:21

let me double check with the team about this.

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