News for hackers. Stuff that matters.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by detaro on Sunday April 29, 2018 @10:01AM (#16952014)
What is "this"?
Re:Tell HN: Sci-Hub's TLS certificate has started failing by AnIdiotOnTheNet on Sunday April 29, 2018 @10:05AM (#16952035)
Likely they mean censorship via certificate revocation, which it isn't clear yet that this is, but they have a valid point. If you put control over your trust in a third party, you give them the power to do this kind of thing.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by tscs37 on Sunday April 29, 2018 @10:08AM (#16952046)
You can always manually trust certificates via various means, it's the basis for almost any corporate network, most browsers also offer a simply dialog to bypass certificate warnings.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by 0x00000000 on Sunday April 29, 2018 @10:13AM (#16952065)
Browsers seem to be moving towards making it harder to bypass, which is probably a good thing for the average user. I wouldn't be surprised to see the ability to ignore https errors (or access http sites at all) locked behind a developer setting or something.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by userbinator on Sunday April 29, 2018 @01:38PM (#16952985)
As a user, it's hard to bypass, but as a developer, it is literally easier to "crack" the browser by patching the jump/value to always go to "cert is good" than try to find and make the corresponding changes in the source and then figure out how to recompile everything else identically. I'm not sure what to think of that...
Re:Tell HN: Sci-Hub's TLS certificate has started failing by ceejayoz on Sunday April 29, 2018 @10:29AM (#16952145)
Chrome's already moving in this direction. Bypassing a HSTS error means you have to type "thisisunsafe", and they change the keyword sometimes (it used to be "badidea").
Re:Tell HN: Sci-Hub's TLS certificate has started failing by detaro on Sunday April 29, 2018 @10:35AM (#16952172)
Firefox makes working around HSTS even harder. But to be fair, HSTS is the domain owner explicitly declaring "do require a valid certificate here!".
Re:Tell HN: Sci-Hub's TLS certificate has started failing by fasj82 on Sunday April 29, 2018 @11:33AM (#16952426)
To disable HSTS permanently just do this: https://security.stackexchange.com/a/102315
Re:Tell HN: Sci-Hub's TLS certificate has started failing by tscs37 on Sunday April 29, 2018 @10:22AM (#16952109)
On Chrome I can see that but I doubt Firefox would make that move.

Plus, they won't remove the functionality to manually trust a cert (Business Users would complain).

Re:Tell HN: Sci-Hub's TLS certificate has started failing by Sir_Substance on Sunday April 29, 2018 @10:36AM (#16952179)
> On Chrome I can see that but I doubt Firefox would make that move.

Firefox has implemented the same rules around .dev tld's as google. I use vivaldi when accessing internal company .dev domains because firefox won't let me tell it to accept the self-signed certificate.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by detaro on Sunday April 29, 2018 @10:56AM (#16952265)
An option could be to use certificates signed by a self-signed CA added to your trust store.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by Sir_Substance on Sunday April 29, 2018 @12:12PM (#16952601)
That's exactly how it's set up. Doesn't help, I'm apparently not allowed to tell my browser what to do in this instance.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by pfg on Sunday April 29, 2018 @12:26PM (#16952673)
Firefox will happily accept self-signed certificates chaining to manually imported CAs. However, there are a lot of severely outdated guides on creating self-signed certificates out there, and many of the certificates produced that way won't be accepted by any modern browser. OpenSSL's terrible command-line UX certainly doesn't help matters. I've found easypki[1] to be the most convenient tool for this purpose.

[1]: https://github.com/google/easypki

Re:Tell HN: Sci-Hub's TLS certificate has started failing by tialaramex on Sunday April 29, 2018 @09:08PM (#16954980)
The person you're replying to doesn't have any problem with certs. Their problem is that they (or their employer) hijack a TLD for whatever ludicrous reason, and HSTS pre-loading applies to their hijacked names the same as it would to real names.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by pfg on Monday April 30, 2018 @01:55AM (#16956121)
Are you sure? The initial post was about .dev being HSTS-preloaded, but the comment I was replying to was an answer to the suggestion that they could use self-signed certificates after importing them to the trust store.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by Sir_Substance on Monday April 30, 2018 @05:06AM (#16956980)
Yeah, and having read over this thread about three times I'm actually less sure than I was. I'll be checking today.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by Kadin on Sunday April 29, 2018 @10:14PM (#16955214)
Ah, got it.

Well, another argument in favor of not overloading TLDs for internal domains, then, and just buying an additional domain if you really want to have separate internal and external domains.

Re:Tell HN: Sci-Hub's TLS certificate has started failing by tscs37 on Sunday April 29, 2018 @11:45AM (#16952470)
IIRC that's because Mozilla sources their HSTS Preload List from Chromium
Re:Tell HN: Sci-Hub's TLS certificate has started failing by detaro on Sunday April 29, 2018 @10:09AM (#16952051)
You can also just use HTTP, since sci-hub doesn't force HTTPS.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by 06983234 on Sunday April 29, 2018 @10:02AM (#16952018)
Being wiped from the internet by a disagreeable CA authority. If that is what "this" is.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by MikkoFinell on Sunday April 29, 2018 @02:26PM (#16953216)
http://sci-hub.tw/ is reachable no problem. Cut down on the hyperbole please.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by middleclick on Sunday April 29, 2018 @10:12AM (#16952061)
FWIW, onion addresses don't require a cert, they are end-to-end encrypted by design.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by mynameisvlad on Sunday April 29, 2018 @12:27PM (#16952677)
Technically, nothing requires a cert. It's just best practice to have one.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by matthewmacleod on Sunday April 29, 2018 @11:21AM (#16952357)
That is not what "this" is.
Re:Tell HN: Sci-Hub's TLS certificate has started failing by codedokode on Sunday April 29, 2018 @11:25AM (#16952380)
The grandparent comment is right. I am not going to mess with default browser settings, and almost nobody is.