News for hackers. Stuff that matters.
Re:Does my site need HTTPS? by enriquto on Monday January 31, 2022 @04:48PM (#30154983)
What if you don't trust any certificate providers?
Re:Does my site need HTTPS? by mhitza on Monday January 31, 2022 @05:13PM (#30155382)
You really can't, and there's no easy way to selectively trust some. For example, one time I went through the huge list of certificate providers in Firefox and manually disabled a bunch of countries and only left in a few major providers I heard the name of before. My day to day browsing worked just fine, with no noticeable impact, but it was not something I can manage on a regular and just a one-off experiment.
Re:Does my site need HTTPS? by dreamsbythelake on Tuesday February 01, 2022 @02:20AM (#30159549)
Tor onion service? Unfortunately, self-signed cert. will terrify most visitors when browser will start screaming red and yellow on them ...
Re:Does my site need HTTPS? by remram on Monday January 31, 2022 @05:31PM (#30155642)
Trust them to do what? Trust them with what?
Re:Does my site need HTTPS? by mburee on Tuesday February 01, 2022 @08:45AM (#30162273)
To not sign malicious agents so they can act like they're the website you're actually trying connect to. There's a worryingly large amount of CA in Firefox or other browsers, many of the quite shady or government-owned
Re:Does my site need HTTPS? by remram on Tuesday February 01, 2022 @09:28AM (#30162828)
This can happen regardless of whether you set up a certificate yourself.

If you're using plain HTTP, someone can MITM in HTTP, and a rogue authority can issue a certificate to someone who isn't you. This is not an argument against you using HTTPS at all.

Re:Does my site need HTTPS? by enriquto on Tuesday February 01, 2022 @09:32AM (#30162880)
So, you are admitting that HTTP and HTTPS are both equally insecure (they can be blocked or falsely approved by malicious authorities/service providers). At least, plain HTTP seems harder to censor: you do not need anybody's permission to transfer HTTP.

Self-signed HTTPS would be even better, but it seems to be frowned-upon by browsers these days.

Re:Does my site need HTTPS? by remram on Tuesday February 01, 2022 @09:48AM (#30163149)
> you are admitting that HTTP and HTTPS are both equally insecure

Absolutely not. I am pointing out that even within your (incorrect) assumption, you using HTTPS does not hurt your security at all.

That you take it to mean "HTTPS is insecure" is your own assumption, that you take it to mean "equally as insecure as HTTP" is something you made up.

A parallel: A lot of companies make seatbelts, you're not sure you can trust all of them. Even though they would be caught by quality testing and instantly go under, it is possible that one of them would build them with cheap materials that wouldn't offer much protection. Therefore seatbelts are not completely safe. Therefore wearing a seatbelt is equally as safe as not wearing one.

Re:Does my site need HTTPS? by dijit on Monday January 31, 2022 @05:01PM (#30155187)
One of the major issues with web PKI is that any root certificate authority can sign any domain.

For Google this is fixed by hard coding the SSL hashes into chrome, for the rest of us we rely on http headers; which of course are much more fungible.

Re:Does my site need HTTPS? by TingPing on Monday January 31, 2022 @05:07PM (#30155276)
The CAA dns type indicates which CAs are allowed to sign for a domain.
Re:Does my site need HTTPS? by dijit on Monday January 31, 2022 @05:37PM (#30155709)
If you’re in the middle; this is the most trivial thing in the world to block; in fact the CAA dns record is so limited in what it protects against that I’m genuinely confused as to why it exists.

Maybe with DoH it’s better. But that’s more https to make https not suck.

Re:Does my site need HTTPS? by solraph on Monday January 31, 2022 @06:31PM (#30156375)
From the linked article. > Use CAA records[0] to restrict which CAs can issue certificates for your site.

Disclaimer, I didn't know about them either. TIL.

[0] https://datatracker.ietf.org/doc/html/rfc6844

Re:Does my site need HTTPS? by adgjlsfhk1 on Monday January 31, 2022 @05:21PM (#30155499)
If you're using HTTP, you are trusting them not to MITM your website already.
Re:Does my site need HTTPS? by enriquto on Monday January 31, 2022 @05:50PM (#30155874)
Yes, so what's the difference?
Re:Does my site need HTTPS? by adgjlsfhk1 on Monday January 31, 2022 @09:24PM (#30157843)
With HTTPS you aren't also trusting literally everyone else on the internet to not mess with you.