8 ms·
Can you list some of the use cases where you can do something using HTTP that you can't using HTTPS? I had always assumed one was a superset of the other, featu
by mabbo 12y ago
Can you list some of the use cases where you can do something using HTTP that you can't using HTTPS? I had always assumed one was a superset of the other, feature-wise.
As long as HTTPS offers all features of HTTP, then the reason to deprecate HTTP is to prevent accidental use of it, and websites which don't know/care from leaving their users vulnerable.
- chc 12y agoBeware of the Turing tar-pit in which everything is possible but nothing of interest is easy. In theory, HTTP is a subset of HTTPS. But that subset is much simpler for common tasks. HTTPS requires you to either subject yourself to the complexities of the CA system or be accused constantly of attacking yourself and everyone else who visits.
- blowski 12y agoSo why not require HTTPS, and let a thousand "make HTTPS simple" startups bloom? Seems like we're saying "we should just accept insecurity because we can't think of an alternative".
- chc 12y ago> So why not require HTTPS, and let a thousand "make HTTPS simple" startups bloom? Much the same reason we don't all cut our hands off and let a thousand prosthetics startups bloom, I think. > Seems like we're saying "we should just accept insecurity because we can't think of an alternative". It seems more like we're saying "We should unnecessarily break the free Web and just cross our fingers that somebody figures out how to fix it sooner or later."
- blowski 12y agoThe analogy doesn't hold. There's absolutely no value in all chopping off our hands, but there _is_ value in requiring all traffic to go over HTTPS. We can deprecate HTTPS for a decade without actually disabling it, and in the unlikely event that we _don't_ figure it out, we can undeprecate it some years later.
- chc 12y ago> there _is_ value in requiring all traffic to go over HTTPS. I'm not so sure. It seems to me that there is almost no value in requiring all traffic to go over HTTPS compared to requiring a subset of traffic to go over HTTPS. > We can deprecate HTTPS for a decade without actually disabling it, and in the unlikely event that we _don't_ figure it out, we can undeprecate it some years later. If you want to deprecate it in name only, I guess I can't object since we wouldn't actually be doing anything. I'd figured this would involve trying to hinder HTTP use (similar to how we make self-signed certificates a royal PITA). At any rate, I think you're overestimating the likelihood that we'll figure it out in the short term — particularly given that the proposed happy scenario is to deprecate HTTP and then have thousands of additional for-profit actors trying to put themselves between people and the ability to have websites.
- Dylan16807 12y agoYou can't do ephemeral hosting with HTTPS unless you use a self-signed cert, and then browsers go absolutely mad.
- dheera 12y agoThings you can do with HTTP that you can't do with HTTPS: * Create a website for free (you have to pay for certificates to use HTTPS) * Report sensor data from small embedded devices with extremely limited CPU * Your JS can talk to APIs that don't yet support HTTPS (e.g. NextBus). If your serve your JS over HTTPS, your browser will complain if you try to access a HTTP-only API. * Transfer large files at gigabit speeds on consumer-grade hardware
- mike_hearn 12y ago> Create a website for free (you have to pay for certificates to use HTTPS) No you don't. You can get free certificates. But even if that was true, it's still a misleading argument. You can only make a website for free if you are OK with your website not having a domain name and running it off your personal laptop with electricity paid for by your roommates/parents. For any actual website, there are already a multitude of real costs of which a certificate is just one more. > Report sensor data from small embedded devices with extremely limited CPU If your CPU is really so limited then why are you using HTTP at all? Use a custom binary protocol with or without encryption as appropriate. > Your JS can talk to APIs that don't yet support HTTPS (e.g. NextBus). Then those APIs suck - avoid them and/or ask the providers to get with the program. > Transfer large files at gigabit speeds on consumer-grade hardware AES-NI can decrypt at 3.5 cycles per byte. With modern consumer grade hardware you will not find symmetric streaming crypto to be a serious bottleneck.
- ciupicri 12y agoFrom where can one get free certificates? Not everyone has modern hardware. My hosting provider doesn't have AES-NI for example.
- blowski 12y ago> From where can one get free certificates? e.g. https://www.startssl.com/?app=1 https://www.startssl.com/?app=1 Also, if HTTPS became a requirement, then demand would increase for free HTTPS certificates in exchange for, say, advertising.
- RexRollman 12y agoNot everything needs to be encrypted. It's not that hard to grasp.
- mike_hearn 12y agoAre you sure? Probably Baidu thought the same thing about their Javascript. It's a public file, so why use HTTPS? Then they got turned into the Great Cannon and now they're being described as a weapon of the PRC in major newspapers. It's obvious that governments are systematically weaponising any non-SSLd connections. If you don't use SSL, you're making it easier for them to hack your users and turn your website into a weapon. If you wouldn't let botnets run wild on your servers, you should take the same care to encrypt your website.
- mariusz79 12y agoPeople may need to run embedded servers on many different devices, and be able to access them. Forcing them to use not the latest version of the browser simply because they can't use it to connect to a device that costs 100k and will not be replaced every year like your average iDevice will not make anything better or safer.
- dragonwriter 12y ago> Are you sure? Yes, I'm sure that the communication between my browser and the test app I'm running on localhost doesn't need to be encrypted. > It's obvious that governments are systematically weaponising any non-SSLd connections. Over the public internet, sure. OTOH, if a government controls a root CA trusted by your target population, TLS doesn't provide any protection at all against them anyway.
- stouset 12y agoYes, it absolutely does. If they actually use that CA to MITM connections, it is usually detected pretty quickly, and browsers quickly revoke that CA's trust. Even in a scenario where this doesn't happen, it elevates the required attack from a passive eavesdropping attack (which is comparatively simple to conduct en masse, and to analyze data retroactively) to an active attack (which must typically be done in a targeted, real-time fashion).
- abritishguy 12y agoHow is my router admin page supposed to have an always up to date SSL certificate?
- blfr 12y agoIt could be a ten-year self-signed certificate. You accept and remember it the first time you connect (preferably over a cable).
- web007 12y agotelnet www.example.com 80 GET / HTTP/1.0
- giovannibajo1 12y agoopenssl s_client -connect www.example.com:443 GET /
- bandrami 12y ago> Can you list some of the use cases where you can do something using HTTP that you can't using HTTPS? Sure: host a web server anonymously. With HTTPS+PKI (and it's the PKI half of this that people are complaining about) I have to claim an identity.