News for hackers. Stuff that matters.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by Rjevski on Sunday April 29, 2018 @10:35AM (#16952173)
It’s a sign of trouble, but I’m not sure it’s really “further” trouble, all it takes is for them to get a cert from Let’s Encrypt and call it a day. I’m surprised they weren’t using LE to begin with actually - since LE is available, why would you ever pay for another CA (excluding EV certificates)?
Re:Tell HN: Sci-Hub's TLS certificate has started failing by sillysaurus3 on Sunday April 29, 2018 @12:39PM (#16952715)
This is a much bigger deal than people are giving it credit for.

At any point in history, have CAs revoked certs solely to censor a target website?

Maybe the answer is yes. I don't know. But this is a rude wake-up call for me and everyone else who tried to force the world into this shape.

We've all been shouting "You have to use TLS! It's fundamental security 101. If you're not using https, your site is probably broken. And there's no reason not to do it, since it's so easy."

Surprise: Now nobdoy trusts http, and those that control https can revoke their trust based on arbitrary human morals rather than solid technical reasons.

I was a pentester for years and not once did anybody mention this threat anywhere. It's blindingly obvious in hindsight, but it was too easy not to think about it.

Let's Encrypt is in the exact same position. Why do we trust them? Think about it -- they're under US jurisdiction and subject to US laws. The government could compel them to revoke certs.

We're lucky that it's just a minor annoyance. Picture a world where no major browser renders http at all, and the only way to get a site online is to have a trusted cert.

This is not far from reality: If the Magic Leap turns out not to be vaporware, they're going to be launching a DRM-powered internet that can't be adblocked. And that means we'll all be subject to government whims far more than we'd like to admit.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by lfam on Sunday April 29, 2018 @01:12PM (#16952859)
It's true HTTPS traffic can be blocked (at least partially) by revoking certificates, but is this worse than the censorship opportunities offered by unauthenticated HTTP?

Whether the traffic is authenticated or not, ISPs block sites when instructed by government orders. And that is much harder to work around than a revoked TLS cert (although a revoked cert does mean "totally blocked" for almost all users).

These are not purely technical challenges, but rather political issues that must be addressed as such. We will always lose to our governments if we focus only on technical solutions to censorship.

I'd like to add that the USA government, for the most part, does not accept an absolute right to private communication. The possibility of ubiquitous end-to-end encrypted communications with tools like TLS and WhatsApp is not something we should take for granted. The USA matters here because we are the powerful nation with the strongest legal and cultural commitment to freedom of speech.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by ethbro on Sunday April 29, 2018 @01:21PM (#16952902)
> At any point in history, have CAs revoked certs solely to censor a target website?

Revoking certs from US CAs is probably the new DNS seizure, post- encryption and TLD expansion.

Although hopefully it'll die a quick death when they realize it's ineffective.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by staticassertion on Sunday April 29, 2018 @02:06PM (#16953129)
I do not see how censorship at the CA level is worse than the ISP/ DNS level. We should not discourage people from using TLS because it allows for one of many other methods to censor.

SEC takedowns have happened for years without relying on TLS.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by Xylakant on Sunday April 29, 2018 @02:38PM (#16953259)
ISP/DNS-takedowns affect only customers of a single provider. Compelling every US provider is tedious and would still not affect people in other jurisdictions. CA-levy takedowns affect everyone.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by mikeash on Sunday April 29, 2018 @05:58PM (#16954141)
A takedown against the hosting ISP would affect everyone, and DNS takedowns can involve changing the authoritative record.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by Xylakant on Monday April 30, 2018 @03:29AM (#16956517)
The site can still move to a different jurisdiction and mirrors would still work. As evidenced by various takedown attempts against Sci-Hib.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by mikeash on Monday April 30, 2018 @12:55PM (#16960207)
A site can move to a different CA and mirrors would still work.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by maxerickson on Sunday April 29, 2018 @12:49PM (#16952756)
All the various DNS alternatives people have pitched over the years pretty directly address the centralization issue you are getting at here. Often by casting themselves as decentralized.

Really the issue is that decentralization isn't very compatible with convenience and people generally place a lot more value on convenience than things like Sci-Hub.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by ams6110 on Sunday April 29, 2018 @12:57PM (#16952796)
Self-signed certificates, trust on first use (or verify out of band) like SSH, works around most of this
Re:Tell HN: Sci-Hub's TLS certificate has started failing by ethbro on Sunday April 29, 2018 @01:13PM (#16952867)
Correct me if I'm wrong, but the signed server-identifying cert is swapped in TLS before the connection is encrypted, no?

So it's not technically infeasible to have networking gear drop any connection which doesn't chain back to a government-approved root?

Re:Tell HN: Sci-Hub's TLS certificate has started failing by cesarb on Sunday April 29, 2018 @03:13PM (#16953435)
> Correct me if I'm wrong, but the signed server-identifying cert is swapped in TLS before the connection is encrypted, no?

Only on old TLS versions. TLS 1.3 changed it so the server certificate is also encrypted.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by catamorphismic on Tuesday May 01, 2018 @07:21AM (#16966103)
What about SNI?
Re:Tell HN: Sci-Hub's TLS certificate has started failing by userbinator on Sunday April 29, 2018 @01:31PM (#16952961)
So it's not technically infeasible to have networking gear drop any connection which doesn't chain back to a government-approved root?

Yse, and that is a very scary thought. China is doing something similar already.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by ams6110 on Sunday April 29, 2018 @01:51PM (#16953050)
You could use a VPN. If you live in a place like China that blocks VPNs, you are screwed, agreed.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by mynameisvlad on Sunday April 29, 2018 @12:23PM (#16952656)
There are plenty of reasons to pay for a certificate. Wildcard certificates only came out last month on LE, and people might still be weary to switch their primary site over so quickly. Additionally, there's still a few cases I can think of where a custom certificate might be needed.

For instance, I recently consolidated my personal projects and site onto one server. I needed a single certificate that'd cover two domains. Digicert combined two of my orders into one certificate with two wildcard SANs. You wouldn't be able to do that with LE.

Edit: I was under the impression you couldn't do multiple wildcard SANs in LE but according to some forum posts it's fully possible as long as validation passes.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by comex on Sunday April 29, 2018 @12:27PM (#16952680)
You can definitely get certs from LetsEncrypt that have SANs for multiple unrelated domains. I haven’t tried out wildcard certificates at all yet, but I would be surprised if it didn’t allow combining those features…
Re:Tell HN: Sci-Hub's TLS certificate has started failing by timlardner on Sunday April 29, 2018 @01:55PM (#16953068)
I've got two wildcard domains that are completely unrelated from LetsEncrypt.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by xnyan on Monday April 30, 2018 @02:27PM (#16960986)
It worked for me as soon as wildcards went live.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by gsich on Sunday April 29, 2018 @02:23PM (#16953196)
Besides having a fancy name in the URL bar I can't think of any.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by Symbiote on Sunday April 29, 2018 @04:02PM (#16953651)
Using TLS on a server which doesn't have outbound/inbound access to the Internet/LetsEncrypt servers.

Sharing a (wildcard) certificate between multiple servers.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by gsich on Sunday April 29, 2018 @04:08PM (#16953677)
Thats a distribution problem. You don't need to be accessible from the outside internet to use a LE certificate. You can request a cert from another one, then copy it. (Either manually or automatically, that is up to you)
Re:Tell HN: Sci-Hub's TLS certificate has started failing by userbinator on Sunday April 29, 2018 @12:22PM (#16952653)
...and then LE also revokes their certificate.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by gsich on Sunday April 29, 2018 @02:25PM (#16953211)
At this point you could go back to HTTP. And for LE: close down the company if that happens.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by saagarjha on Sunday April 29, 2018 @04:13PM (#16953697)
But then you have the issue of browsers marking your website as insecure, ISPs taking it upon themselves to enforce censorship, etc.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by gsich on Sunday April 29, 2018 @04:19PM (#16953715)
Yes. But at least as a company, you will still have your dignity. To not become a government pet.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by saagarjha on Sunday April 29, 2018 @05:03PM (#16953905)
Really? A "government pet"?
Re:Tell HN: Sci-Hub's TLS certificate has started failing by gsich on Sunday April 29, 2018 @05:35PM (#16954032)
better name?
Re:Tell HN: Sci-Hub's TLS certificate has started failing by mynewtb on Sunday April 29, 2018 @12:51PM (#16952765)
That is a really farfetched scenario which I would never imagine happening. LE are not Cloudflare, I am sure they would not ridicule their neutral mission without actual legal force.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by sillysaurus3 on Sunday April 29, 2018 @01:05PM (#16952830)
Unfortunately it's not far fetched. I wish it were. It's just an unpleasant thought we've decided not to think about.

LE are a US corp, subject to US laws, and at the whim of US court orders. The implications of that are worth gaming out.

Our laws are (arguably) mostly fair. But there are cases where they're not.

Picture a world where an administration rises to power in the US on a platform that seems insane, but everybody endorses it anyway. And this platform just so happens to be against the sort of thing you're trying to do on the internet.

Sci-hub are stealing. We as a community are mostly fine with that. We don't consider it stealing, because the moral good outweighs the bad by a hundred to one.

But this isn't about Sci-hub. This is about a world in which we're free to do as we please, because we have the ability to decide what we want to do. If we want to make a site that can make information available, and someone else doesn't like that information or feels that they own it, what do you do? You have no power.

And when you blindly put your faith in institutions like Let's Encrypt on their platform of openness and trust, you set yourself up for a shift: One day you wake up and find out you were mistaken, and we were all mistaken to push this centralized model in the name of security and convenience.

And of course, that's the fundamental truth, isn't it? Liberties have always been eroded by pushing security and convenience.

We should think carefully about who we trust, and why.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by JamesBarney on Sunday April 29, 2018 @05:37PM (#16954042)
Sorry this is a pet peeve of mine, but I don't think sci-hub is stealing, it's infringing copyright. And this is one of those instances where I think what words we use to describe what sci-hub is doing matters.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by userbinator on Sunday April 29, 2018 @01:05PM (#16952832)
without actual legal force.

That's precisely the main concern here, given the nature of SciHub.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by bdcravens on Sunday April 29, 2018 @05:18PM (#16953967)
If you're on AWS it's easy enough to just use their CA with ALB