dlang / dub-registry

Online registry for dub packages
Boost Software License 1.0
82 stars 64 forks source link

SSL certificate for *.dub.pm has incorrect domain #505

Open pbackus opened 3 years ago

pbackus commented 3 years ago

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.

Geod24 commented 3 years ago

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

s-ludwig commented 3 years ago

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.

WebFreak001 commented 3 years ago

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

s-ludwig commented 3 years ago

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).

WebFreak001 commented 3 years ago

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

Geod24 commented 1 year ago

This is still an issue today.

mdparker commented 1 year ago

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

mdparker commented 1 year ago

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