News for hackers. Stuff that matters.
Re:Letsencrypt Supports Wildcard Certificates by metadat on Wednesday July 17, 2024 @12:09PM (#40987416)
One great aspect of this is getting HTTPS for free, without your specific subdomain being leaked to the world through the Certificate Transparency (CT) Log.

https://letsencrypt.org/docs/ct-logs/

Apparently wildcards have been supported since 2018, but I only discovered this last weekend.

Cheers.

Re:Letsencrypt Supports Wildcard Certificates by nullindividual on Wednesday July 17, 2024 @12:29PM (#40987607)
Wildcard certs are generally discouraged in secure environments due to a single cert being compromised can lead to a variety of compromised services -- or an attacker adding their own subdomain and 'valid' service.
Re:Letsencrypt Supports Wildcard Certificates by metadat on Wednesday July 17, 2024 @12:33PM (#40987650)
Agreed, as a rule of thumb.

Yet when it's, say, a certificate for the HomeAssistant service at my personal residence, avoiding the subdomain being published to the transparency log is advantageous from a both a privacy and security perspective.

Naturally, best practices depend on the use-case and context.

Re:Letsencrypt Supports Wildcard Certificates by jsheard on Wednesday July 17, 2024 @01:49PM (#40988457)
If you're relying entirely on LetsEncrypt for a service which uses hundreds or thousands of subdomains (e.g. one per user) then you practically have to use a wildcard too, because generating tons of individual certs for the same top level domain will very quickly run into LEs rate limits.
Re:Letsencrypt Supports Wildcard Certificates by BadBadJellyBean on Wednesday July 17, 2024 @03:09PM (#40989258)
Re:Letsencrypt Supports Wildcard Certificates by stop50 on Wednesday July 17, 2024 @12:58PM (#40987886)
For really secure environments you use your own hardware backed ca.
Re:Letsencrypt Supports Wildcard Certificates by dddw on Wednesday July 17, 2024 @03:12PM (#40989293)
Don't forget to update that hardware then. And to inform whoever inherits the infra to update te ca after 10 years.
Re:Letsencrypt Supports Wildcard Certificates by 8372049 on Wednesday July 17, 2024 @01:28PM (#40988196)
On an airgapped network (if possible)
Re:Letsencrypt Supports Wildcard Certificates by nullindividual on Thursday July 18, 2024 @01:44PM (#40998032)
There are levels of security, or more like levels of risk one can take on. For the home environment, I'd agree that for most wildcards aren't much of a risk. For an SMB, LE with individual certs may be ok. For a multinational bank or similar, yes absolutely HSM on an airgapped CA seems like a better approach.
Re:Letsencrypt Supports Wildcard Certificates by iggldiggl on Thursday July 18, 2024 @05:48AM (#40994006)
Unfortunately it means you're off the happy path in terms of certificate renewals.

Most (?) hosting providers these days probably provide for automated renewal of individual domains, but wildcard certificates are a different matter, especially if your domains are hosted/registered externally and you're not using your hosting providers DNS servers.

If you're lucky and your hosting provider is using e.g. Plesk as a hosting panel and has enabled its built-in DNS server, you might be able to use that as a (hidden) primary server and your registrar's DNS as secondaries and let Plesk update the DNS records as required.

Otherwise you're left with the problem on how to interface between your hosting providers renewal mechanism and your DNS provider's API (hopefully your DNS provider does have an API?), which means you either need to manually update your certificates after all, or else run your own webserver so you can custom-wire the required DNS updates (and running my own webserver isn't a hobby I currently wish to take up).