Back

Custom Domain and Self Signed certificate challenge

  • 0
  • Self Hosted
Showdey
19 Oct, 2023, 04:57

Hi! I have a problem with assigning a certificate. The domain is getting verified but the certificate table is getting an error. It says "In order to continue, set the following record on your DNS provider. DNS records may take up to 48 hours to propagate. Please retry over the next 48 hours, but if verification still fails, please contact support." but theres no challenge text to be set.

TL;DR
Issue: Unable to assign certificate for custom domain due to missing challenge text Solution: 1. Check if you have set up Traefik container to trust your reverse proxy. 2. Ensure that your domain's DNS records are correctly configured, including setting up a CNAME record for a subdomain (if applicable). 3. Verify that you have set an A record that contains your server IP for the main domain. 4. If using Cloudflare, make sure the CNAME record points to your main domain. 5. If using a different DNS provider, ensure that the necessary records are set correctly. 6. Wait for DNS propagation,
D5
19 Oct, 2023, 07:49

Is this cloud?

Showdey
19 Oct, 2023, 07:49

Nah, self hosted

D5
19 Oct, 2023, 07:49

Are you using any proxy like Cloudflare?

D5
19 Oct, 2023, 07:49

Okay, so did you have set an A record that contains your server IP?

Showdey
19 Oct, 2023, 07:50

Yes, on the main domain

Showdey
19 Oct, 2023, 07:50

Do I have to do this on this one as well?

D5
19 Oct, 2023, 08:55

What's the domain you're using for appwrite?

D5
19 Oct, 2023, 08:56

If you're using a subdomain you will need to set that subdomain and set records for that

Showdey
19 Oct, 2023, 12:05

I did it, set a CNAME for a subdomain and it looks like this:

Showdey
19 Oct, 2023, 12:05
D5
19 Oct, 2023, 12:08

The CNAME record points to your main domain?

Showdey
19 Oct, 2023, 12:08

Yes

D5
19 Oct, 2023, 12:08

And are you using Cloudflare?

Showdey
19 Oct, 2023, 12:09

No, some Polish hosting's DNS but it works on my other domain

Showdey
19 Oct, 2023, 12:09

And i configured it on v1.2

Showdey
19 Oct, 2023, 12:09

now it's 1.4 and it doesn't even show the challenges content

D5
19 Oct, 2023, 12:09

And are you using any kind of reverse proxy?

Showdey
19 Oct, 2023, 12:10

Yes, it's configured correctly

D5
19 Oct, 2023, 12:12

That's probably the issue then

Showdey
19 Oct, 2023, 12:13

Yeah, when i wrote it i realised

D5
19 Oct, 2023, 12:13

Did you have setup the traefik container to trust your reverse proxy?

Showdey
19 Oct, 2023, 12:13

Certificate should be on proxy

Showdey
19 Oct, 2023, 12:15

Sorry πŸ˜„

D5
19 Oct, 2023, 12:21

No issues πŸ™‚

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