459 points · by _jomo · 10y ago · 160 comments
https://community.letsencrypt.org/t/please-support-wildcard-...
LetsEncrypt CA allows Subject Alternative Names (SAN), the true need for an unlimited sub-domains TLS cert vs. a SAN TLS cert is minimum, given Certbot's automation capability.
[1]: https://github.com/certbot/certbot/issues/66#issuecomment-16...
> A server MAY consider a client authorized for a wildcard domain if it is authorized for the underlying domain name (without the “*” label).
Although this seems to be gone from https://ietf-wg-acme.github.io/acme/, which I think is the later version.
That's probably good enough for almost everyone who uses hostnames to represent physical machines or services. But it's totally unusable if you want to create certificates on the fly in response to user signups.
I've been calling this "the tumblr scenario", but people seem to think there's a way around it without just using another CA.
I don't understand why Let's Encrypt can't consider validation of the root domain good enough to produce a wildcard. Email at the root domain is what most providers use, not exactly much worse.
EDIT: It's now 20 per domain per week, better but still not viable for even a mid scale operation. A single wildcard is a much nicer and easier to maintain solution in any case.
Then I started speccing out a way to get single certs for many subdomains in one request using SAN, and the whole thing looked like it would require more development time compared to just buying a wildcard cert. Very frustrating.
One cert per game * one hit game = need 10s of thousands of certs. But even without a hit game a single game jam would hit the limits
For reference here is an example of a similar problem and solution but it required $$$$$$
https://blog.filippo.io/how-plex-is-doing-https-for-all-its-...
PS: I know this is not a problem with Lets Encrypt. They are not trying to solve this problem.
It is a problem that needs a cheaper solution at least for open source projects.
Having a scriptable renewal process and no real cost associated with getting additional subdomains on the cert (besides operator time) covers some significant portion of the generalized need for wildcard domains. I know there's other reasons, sure. But it's definitely not stopping me.
You don't need a wildcard cert! Just get certs for each one of your subdomains, even internally.
For that to happen they have to be added as a trusted CA in most major platforms (and Firefox which has their own CA store for some reason).
Firefox has it's own CA store because it's built for all 3 major (desktop) platforms. OSX and Windows have their own but Linux does not and uses Mozilla's.
I saw their aim is to migrate to their own root CA by the end of the year, but i wonder if this is realistically feasible?
We had hoped to be accepted by all major programs by the end of this year, but even if that happened it would still take years for our root to sufficiently propagate.
Another move in the direction of political correctness and making decisions according to optics. Have you considered valid business purposes for a company doing a particular act or are you just deciding that everyone thinks this was a "scumbag" action?
I still love Let's Encrypt for its principle, but I don't dare running it in full auto mode anymore. A few custom shell scripts get the job done easily enough.
Instead of magic, I would rather prefer simple and clear steps.
For sufficiently nonstandard setups, it's often easier to do the commonplace email-based verification than make Let's Encrypt work. I'd love to switch all of our internal services at $dayjob over to LE, but emails to webmaster@ already go somewhere useful, and setting up externally-visible DNS and fake servers is much more involved. (Either we write some code, or we do it by hand each time, and if we're doing it by hand, it's easier to just handle an email.)
However, I think some nuance is important here. Comodo has some really good people (like Rob Stradling) that are doing a lot of good work for PKI.
eg, the https://crt.sh tool is fantastic.
"It includes, among others, certificate authorities used by the Debian infrastructure and those shipped with Mozilla's browsers. "
RE: OSX - If you can get into Mozilla's trust stores, it's the same steps (and pro forma, more or less) [1]
[0] https://packages.debian.org/wheezy/ca-certificates
[1] https://www.apple.com/certificateauthority/ca_program.html
In other words, it keeps bad guys out of the middle, not the end point. That's all SSL can do, even if it works perfectly. Bad guys will still own end points, in both the conventional sense of the word own and the pwning sense of the word own. SSL can not (directly) do much about that. If you speak SSL to a bad actor, well, there aren't any other actors between you and the bad actor, but you're still speaking on an encrypted, authenticated channel to a bad actor.
This is in contrast to the DNS infrastructure in which it is sensible for a TLD owner to attempt to prevent "people they don't want on their TLD" (more generally than "bad guys" since a lot of the restrictions enforced are far beyond that).
I remember reports in the past decrying CAs for issuing certificates for phishing sites in the style of "gooogle.com" etc.
You are right that some news articles and reports continue to chastise CAs who issue to sites in the style of "gooogle.com". Do not let them trick you - that is only their opinion on the matter. It is NOT against the industry rules to issue those certificates.[1]
What IS against the rules is to issue a certificate for "domain.com" to someone who has not proven ownership of "domain.com". That is the BIG no-no that leads to consequences such as being un-trusted. There are standardized methods for meeting the burden of proof, and every CA uses more or less the same mechanisms to do so.
Let's Encrypt, or any CA, may issue a certificate to "paaypal.com". Even if that site was a Paypal phishing site, a CA is under no obligation to revoke the certificate or prevent that user from getting another certificate.
Some CAs CHOOSE to do this. To some extent, I think it is sensible to try to thwart malicious use. However, the case is often made that CAs and SSL certificates are not meant to "police content", and furthermore, that they are not very effective at doing so.
Flagging a malicious site through a tool like Google's SafeBrowsing is significantly more effective than revoking their SSL certificate.
[1] Except for a more recent stipulation that Microsoft added to their root program. If they request the revocation of a certificate they believe is malicious, the CA is expected to comply. If they dont, they are only at risk of being punished by Microsoft.
The certificate is a kind of "encryption only" certificate, it's treated as a second class citizen (you might get a grey lock for example) so it's encrypting the communication but it's not very useful for convincing you that you're talking to your bank when you aren't.
Of course if LE don't do a good job of (1) then we're f*ed because they'll issue certificates to bad actors and LE have a hard job because now they're trusted they're a good target for DNS cache poisoning etc.
The whole Mozilla CA review process is a little crazy and the thread talks about ways they could reform it in the future. (overview: https://wiki.mozilla.org/CA )
https://www.reddit.com/r/programming/comments/4wb7c2/lets_en...
[0] https://letsencrypt.org/2016/06/23/defending-our-brand.html
The free certificate they were referring to was a time-limited free trial that you could use once and then start paying for.
It's a lot more work to switch an existing cert environment to LE than to start from zero.
2. Ridiculous expiry time
I can understand moving things to show support for better alternatives but let's not kid ourselves - moving now or moving when the cert expires, doesn't hurt Comodo any differently.
Looks like a cert is similar to a President. Should be around for 5 years.
Say what? Besides the faux security of the green bar for an EV cert, what's the difference between a LetsEncrypt and a paid one? (non-EV)
Tying real world identities to public keys is very much a part of crypto. Windows does it with package signing and EV, Debian does it with people holding up their passports at Linux events, and web sites do it with EV HTTPS.
And yes, we (CertSimple) are looking at Certbot support for EV.
I put a LE cert on a project, and some folks calling the API with old Java clients couldn't trust the cert. They could have upgraded, but it was easier to get a commercial cert and be done with it.