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.
Summary
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
Moderator
Oct 19, 2023, 07:49
Is this cloud?
Showdey
Rank 2: Process
Oct 19, 2023, 07:49
Nah, self hosted
D5
Moderator
Oct 19, 2023, 07:49
Are you using any proxy like Cloudflare?
D5
Moderator
Oct 19, 2023, 07:49
Okay, so did you have set an A record that contains your server IP?
Showdey
Rank 2: Process
Oct 19, 2023, 07:50
Yes, on the main domain
Showdey
Rank 2: Process
Oct 19, 2023, 07:50
Do I have to do this on this one as well?
D5
Moderator
Oct 19, 2023, 08:55
What's the domain you're using for appwrite?
D5
Moderator
Oct 19, 2023, 08:56
If you're using a subdomain you will need to set that subdomain and set records for that
Showdey
Rank 2: Process
Oct 19, 2023, 12:05
I did it, set a CNAME for a subdomain and it looks like this:
Showdey
Rank 2: Process
Oct 19, 2023, 12:05
D5
Moderator
Oct 19, 2023, 12:08
The CNAME record points to your main domain?
Showdey
Rank 2: Process
Oct 19, 2023, 12:08
Yes
D5
Moderator
Oct 19, 2023, 12:08
And are you using Cloudflare?
Showdey
Rank 2: Process
Oct 19, 2023, 12:09
No, some Polish hosting's DNS but it works on my other domain
Showdey
Rank 2: Process
Oct 19, 2023, 12:09
And i configured it on v1.2
Showdey
Rank 2: Process
Oct 19, 2023, 12:09
now it's 1.4 and it doesn't even show the challenges content
D5
Moderator
Oct 19, 2023, 12:09
And are you using any kind of reverse proxy?
Showdey
Rank 2: Process
Oct 19, 2023, 12:10
Yes, it's configured correctly
D5
Moderator
Oct 19, 2023, 12:12
That's probably the issue then
Showdey
Rank 2: Process
Oct 19, 2023, 12:13
Yeah, when i wrote it i realised
D5
Moderator
Oct 19, 2023, 12:13
Did you have setup the traefik container to trust your reverse proxy?