dub-registry icon indicating copy to clipboard operation
dub-registry copied to clipboard

SSL certificate for *.dub.pm has incorrect domain

Open pbackus opened this issue 3 years ago • 8 comments

Attempting to visit any package's short URL using HTTPS (for example, https://vibe-d.dub.pm) currently fails, because the certificate for *.dub.pm is only valid for the domain analytics.bildhuus.com.

pbackus avatar Jul 05 '21 01:07 pbackus

Ah, sorry, I only checked the main page in the previous issue. CC @s-ludwig .

Geod24 avatar Jul 05 '21 01:07 Geod24

So, as per the Slack topic, I did add a rule for HTTP to my server config, but I don't have a wildcard certificate and generating one regularly (Let's Encrypt) would be rather tedious.

s-ludwig avatar Jul 05 '21 07:07 s-ludwig

certbot can do automatic wildcard certificates with DNS providers through plugins. You need some compatible DNS provider plugin or write your own plugin, but there are already some existing ones for cloudflare, luadns, etc

WebFreak001 avatar Jul 05 '21 09:07 WebFreak001

I unfortunately don't know which DNS provider this is, although I think I even had been given access to the account from @wilzbach quite a while ago (couldn't find the e-mails for that, though).

s-ludwig avatar Jul 05 '21 11:07 s-ludwig

the DNS is currently hosted at cloudflare according to a DNS lookup if that helps.

WebFreak001 avatar Jul 05 '21 14:07 WebFreak001

This is still an issue today.

Geod24 avatar Jun 27 '23 11:06 Geod24

What needs to happen here? I have access to the dub.pm account.

mdparker avatar Jun 27 '23 12:06 mdparker

There's an option there to get a single-domain SSL certificate for 12 euro/year.

mdparker avatar Jun 27 '23 12:06 mdparker