Live data from Hacker News

Still Why No HTTPS?

troyhunt.com

91–100 of 345 posts

Re: Still Why No HTTPS?

#92

Because there is only one free certificate provider (lets encrypt) and it does not allow wildcard certificates via server authentification. Having the DNS credentials laying around on the server is not a good idea. So creating wildcard certs via letsencrypt is a huge pain in the ass. If a webmaster has control over somedomain.com I think that is enough to assume he has control over *.somedomain.com. So I think letsen…

I run https://github.com/joohoi/acme-dns to solve the wildcard domain problem. You can run it yourself locally, or trust (why?) the upstream's service.

Can you run it locally on your laptop?

I think you still need a steady hostname pointing to it, right?

Re: Still Why No HTTPS?

#93
post #59
post #46

Earlier quoted context omitted.

Though I'm on the "encrypt all the things!" camp, let me play devil's advocate for a moment. If I set up a purely static HTTP-only site in 1998, it would still work with today's browsers, more than 20 years later. If I set up a purely static HTTPS-only site in 1998, and didn't follow the upgrade treadmill, it would have stopped working for modern browsers some time ago.

It would still work, just create a warning. For a page that hasn't been updated since 1998 that's ok imo. On the other hand, it needs to be hosted somewhere. Either a vps (which also needs updating) or a web hosting package (which tend to provide auto-renewing certificates). Just because the code is static doesn't mean nothing about the website has changed for 20 years.

You assume it's not a box in my basement or my company's that has been running for 20+ years. I wouldn't be surprised to hear things like this still exist.

Of course, migrating to even a raspberry Pi would be a net performance and perf/watt improvement.

Re: Still Why No HTTPS?

#94
post #5

I don't get it. With Lets Encrypt, it's like one or two lines to get everything set up. I'm guessing people aren't as lucky as I am to be running on newer machines and such. I mean it even edits your nginx files to redirect http to https if you agree. It's not hard.

> I don't get it. With Lets Encrypt, it's like one or two lines to get everything set up.

My employer won't use Let's Encrypt because they (LE) want unlimited indemnity and that's a deal breaker for them (employer).

Re: Still Why No HTTPS?

#95

Some websites adamantly insist they did not need HTTPS because they are purely static. https://www.troyhunt.com/heres-why-your-static-website-needs... The same website to my surprise has an article on why this is faulty reasoning.

There's literally no argument on that article for the question "why does my static website need https?"

Re: Still Why No HTTPS?

#96
The biggest problem with forcing everything HTTPS is a false sense of security & trust that this gives to none-techie users.

Security of the data transfer layer does not mean can or should trust the website you are visiting.

Just because a website has a padlock does not mean it is trust worthy and you can hand over your CC details.

https://www.amazon.somethiing.other.co/greatDiscount may look great to some!

Re: Still Why No HTTPS?

#97
Preloads list is an absolute kludge that does not and will never scale and creates a huge deal of problems and works only for specific browsers.

The task is not as simple as using DNS to store strict https flags(as DNS can be manipulated by intermediary), but hardcoding the lists in the browsers and keeping the lists in the chrome's code is definitely not a solution.

Re: Still Why No HTTPS?

#98
post #62
post #27

There is one "good" reason against https: handshakes take enormous amounts of CPU, relatively speaking. It's quite easy tp DoS server by skipping the expensive part on your end. You can load a core with 10~30Mbit@2k rps if your not even optimized. Whereas the same server could tank 40k rps HTTP requests.

The only place I've had to care about this was on an embedded hardware server. Even then, if the handshakes were too much, it'd just drop the connections and continue to serve those it could. It wasn't enough to knock the whole thing offline. If a 16bit 200Mhz microprocessor can handle a few thousand connections/second, then a modern processor should definitely be able to stay upright fairly easily.

It’s not exactly apples to apples... but my 64Mhz embedded processor is doing way more than 10,000 chacha20-poly1305 encodes of 64 bytes with another 64 bytes of additional data for the AEAD per second. Granted, it has some hardware crypto functions.

I am still skeptical TLS handshake on site visit is actually bogging down anyone’s computer.

Re: Still Why No HTTPS?

#99
post #73

I mostly have port 80 egress traffic blocked on Little Snitch. The web is painful to use like that but gives you an idea of the sorry state of websites. A lot of websites just don't serve over HTTPS, or serve them with domains whose CN or SAN don't match the host. Many that do support https have links that downgrade you back to http on the same domain.

How do you use public Wi-Fi with captive portals?

You just don't.

Re: Still Why No HTTPS?

#100
post #96

The biggest problem with forcing everything HTTPS is a false sense of security & trust that this gives to none-techie users. Security of the data transfer layer does not mean can or should trust the website you are visiting. Just because a website has a padlock does not mean it is trust worthy and you can hand over your CC details. https://www.amazon.somethiing.other.co/greatDiscount may look great to some!

I think that was the main reason why browser vendors moved away from the green padlock symbol.
Post reply on HN