this post was submitted on 09 Jul 2024
10 points (100.0% liked)

Mastodon

5239 readers
1 users here now

Decentralised and open source social network.

https://joinmastodon.org/

GitHub

founded 5 years ago
MODERATORS
 

Hi, I’m hosting mastodon for personal use on subdomain.domain.tld — it has a valid ssl cert. The issue is that when I set the vanity server name to domain.tld (no subdomain) and create a Let’s Encrypt cert for domain.tld. The namecheap ssl cert checker says that the Hostname doesn’t match the Common Name or/and the SANs.

I have domain.tld redirect via an Alias record to my Synology server (just like the subdomain) but for some reason it’s fine on the subdomain but not for the root domain.

Any one have any experience with this? TIA.

you are viewing a single comment's thread
view the rest of the comments
[–] TheRealCharlesEames@lemm.ee 2 points 4 months ago (1 children)

What if I told you that the cert says the SAN is valid for the Synology DDNS but not the SAN that I entered (domain.tld)

[–] ziviz@lemmy.sdf.org 1 points 4 months ago

If you ensured both the subdomain and the domain name were provided when using certbot, then it could be a case where the server is still using a previous cert. I had issues where changing the cert in NameCheap did not immediately take affect. (In the NameCheap CPanel console, cert would be fine, but actually visiting the site would still present the old cert for a while.) There were at least a couple times where it only presented the new cert after I fully removed the old one from Cpanel. Other than that, running out of ideas.