Slashdot Mirror


Why Doesn't Every Website Use HTTPS?

suraj.sun writes "HTTPS is more secure, so why isn't the Web using it? You wouldn't write your username and passwords on a postcard and mail it for the world to see, so why are you doing it online? Every time you log in to Twitter, Facebook or any other service that uses a plain HTTP connection that's essentially what you're doing. There is a better way, the secure version of HTTP — HTTPS. But if HTTPS is more secure, why doesn't the entire Web use it?"

74 of 665 comments (clear)

  1. Haven’t we been here before? by Anrego · · Score: 4, Informative

    I’m no HTML technician, however I would assume it requires significantly more processing power. Your personal blog or website with 10 hits a day sure, run it over https and you probably wouldn’t notice much difference (aside from the cost of your own unique IP address). A large scale site however would probably have more hardware and bandwidth requirements to implement https on everything.

    And I don’t think it’s laziness. A lot of sites will do the login and purchasing bits over https, and have the rest of the site regular old http. It’s probably more effort to do this kind of mixed environment than just make the whole damn thing over https. The only reason for this that I can see is if there was a significant cost associated with encrypting everything un-necessarily.

    1. Re:Haven’t we been here before? by SCHecklerX · · Score: 4, Insightful

      If you are going to switch back over to http, you might as well not bother in the first place. HTTP, being stateless, one need only sniff that session ID, and they are now in. That so-called webmasters think they are guarding access by only encrypting/authenticating the login amuses me.

    2. Re:Haven’t we been here before? by Anonymous Coward · · Score: 2, Informative

      Most websites are virtual hosts on a single server. SSL does not support more than one certificate per IP address/port.

    3. Re:Haven’t we been here before? by EasyTarget · · Score: 4, Insightful

      "That so-called webmasters think they are guarding access by only encrypting/authenticating the login amuses me."

      ..which is why you need to let real webmasters get on with it and not try it yourself. We are protecting -something-; it's your loss if you cannot work out what that is.

      --
      "Oops, I always forget the purpose of competition is to divide people into winners and losers." - Hobbes
    4. Re:Haven’t we been here before? by fuzzyfuzzyfungus · · Score: 5, Interesting

      I suspect that some are merely clueless, and some are mostly concerned with preventing persistent "lockout" type attacks at the lowest possible cost. You'll notice, for instance, that most sites that authenticate over HTTPS, then drop back to HTTP, go back to HTTPS and demand the original password if you try to do things like change the password(and possibly certain other operations considered sensitive), even if you have the session ID.

      Obviously, that does nothing to prevent assorted public-wifi hilarity; but it makes it comparatively difficult(difficult enough that social engineering or just guessing that the password is 'password123' because they always are is easier) to permanently compromise the account and generate a customer support/being flagged as a spam host cost problem.

      Webmasters who think that this is actually good security are fools. Webmasters who think that it blocks a certain class of especially costly attacks, while being much cheaper than full HTTPS, are entirely correct. And, given how little one pays for access to many sites that do this, they probably don't care too much unless something attracts mainstream attention *cough*firesheep*cough*...

    5. Re:Haven’t we been here before? by Zorpheus · · Score: 4, Informative

      The use of encrypting the login is that the passwords are save from being sniffed. Too many people use the same password for multiple sites.

    6. Re:Haven’t we been here before? by vlm · · Score: 3, Informative

      1) Isn't SSL done on a per domain name basis?

      "HTTPS" is more or less setting up a SSL link and running plain ole HTTP over that secure link.

      No the SSL encryption layer is done before the HTTP layer does it's thing. So if you identify your vhost as part of the HTTP header, then you're not going to know your vhost name until after the SSL is already set up and working, classic chicken and egg problem.

      HTTPS/SSL a good argument for going ipv6 where there is no particular shortage of ip space.

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    7. Re:Haven’t we been here before? by Sancho · · Score: 3, Insightful

      Server Name Indication has been supported by major browsers for 4 years. Browsers have supported Subject Alternative Name certs (which bypass the need for one IP per name) for nearly 8 years. At this point, the one cert per IP issue should be well addressed.

    8. Re:Haven’t we been here before? by mmj638 · · Score: 2

      They may not be guarding access, but they are guarding against an eavesdropper discovering the password. Sure they can session hijack after switching back to HTTP, but they don't have the password. This fact could be leveraged further by requiring the user enter the password (and transition to HTTPS again) whenever something important like changing password, email, or making a monetary transaction is done.

      That said, I do agree that switching back to HTTP while still logged in is still a bit silly.

    9. Re:Haven’t we been here before? by hawguy · · Score: 2

      You don't need a separate IP for each domain. The apache web server can have multiple sites on one IP, each with a different SSL certificate. It just decides which site and certificate to use based on the site name in the http request.

      How is that possible since the Host: header is hidden in the SSL stream and the web server can't accept and decrypt the SSL request until it has the right certificate.

    10. Re:Haven’t we been here before? by asdf7890 · · Score: 5, Informative

      Isn't SSL done on a per domain name basis?

      No. But yes. Well, probably not quite yet.

      No: The way HTTPS works when the "recent" SNI feature is not available is that the TLS stream is created (including certificates being negotiated and verified) before any hostname information is transferred. This means that you can only have one valid certificate per publicly addressable IP address without SNI.

      But yes: With SNI (see http://en.wikipedia.org/wiki/Server_Name_Indication for info) the hostname is sent earlier, so the server can lookup the right certificate for that name and send it instead of relying on a 1-to-1 mapping between IP addresses and service names.

      Well, probably not quite yet: Unfortunately SNI is not completely supported by all common user agents, particularly any version of Internet Explorer running on Windows XP, so whether you can justify using the feature right now depends a lot on who your target audience are. If you don't have any users browsing your content/app with XP+IE or you don't mind telling such users to upgrade to FF/Chrome/other, upgrade Windows, or just put up with the certificate warnings, then using SNI will work for you. You run the risk of sending XP+IE users away though, which might not be acceptable if your bottom line relies on getting as much traffic as possible through your doors.

    11. Re:Haven’t we been here before? by tnk1 · · Score: 2

      Speaking as someone who has run more than one SSL site on one host, you're correct. You open separate ports. Our method of choice to make those into non-ugly addresses was to

      1) get the cert for a nice name like www.bleh.com
      2) Create a Netscaler/F5/whatever SSL VIP that load balances webhost.bleh.com:9999 and webhost.bleh.9998, etc and presents it as one IP address on port 443. Make sure that each webhost httpd is using the cert for www.bleh.com. Also, you can load the SSL cert on the load balancer usually.
      3) Assign www.bleh.com to the VIP IP address
      4) ???
      5) Profit!

      Rinse and repeat for as many SSL domains as you want to have running on your webhost farm.

      If you don't have a load balancer, you can usually just use a combination of internal load balancing and mod_proxy or mod_rewrite to achieve the desired effect.

    12. Re:Haven’t we been here before? by epine · · Score: 2

      IE6 doesn't support HTML. It supports HTLM6 and is only used within corporate networks to access HTML6 legacy apps.

      For browsing HTML on the public internet, these people need to run an HTML browser. So no problems there.

    13. Re:Haven’t we been here before? by TheNinjaroach · · Score: 2

      Apparently you haven't heard of the fix.

      --
      I went to eat some animal crackers and the box said, "Do not eat if seal is broken." I opened the box and sure enough..
    14. Re:Haven’t we been here before? by nahdude812 · · Score: 4, Informative

      You cannot depend on the user's IP address not changing. Besides offering only some additional security (most people subject to having their session sniffed are using the same public WiFi as the user - so they'll actually have the same IP address), more importantly, some users have load-balanced outbound Internet access.

      On our own network, we see legitimate single sessions bridging multiple A-class networks. Page request to page request they will have an IP address from a wholly different ISP, which can even geolocate to wildly different locations. Admittedly that's the exception rather than the rule, but it's also becoming more common - especially for people on mobile networks, whose IP address is subject to whichever cell tower is giving them the strongest signal right now. Users sitting relatively equidistant from multiple towers can flip between various IP's rather frequently.

      The only things you can reliably depend on not changing in the user's request (for legitimate users) are also all spoofable by illegitimate users. For example, you can depend on a cookie not changing unless you told it to change, but it can be spoofed; you can depend on the user agent not changing, but it can be spoofed, and so forth.

      There is no way to make an unspoofable session cookie; you can only prevent interception by using a secure standard such as SSL.

    15. Re:Haven’t we been here before? by nahdude812 · · Score: 3, Informative

      It's called SNI (Server Name Indication), it's part of the SSL standard, and has been supported in Apache since 2.2.12. The virtual host name is submitted as part of the TLS negotiations so the server knows which certificate to use.

    16. Re:Haven’t we been here before? by v1 · · Score: 2

      The cost of the SSL certificate to make the HTTPS work has been the most common issue I've ran into. Penny-pinching administrators can't be convinced it's a justifiable expense. And they nickel and dime you for every service the certificate is "good for" such as email.

      Static IP addresses aren't a problem, one IP can host a variety of completely different domain names, the server sorts out the requests based on the entire URL being requested, including the domain name. And there's nothing that says that you can only have one certificate bound to a specific IP address. (or group of them) Reverse mapping considers all possibilities, not just the first one it hits.

      And if you want to get technical about things, ISPs almost never refuse to sell you a product like static IP addresses, you can have as many as you are willing to pay for, subject to availability. (which is kept inversely proportional, so as to make sure they never run out) They also don't have to be their own subnet either, it's common for an entire /26 to be split into 253 different static IP addresses, each sharing a network/router/broadcast run by their isp. That lets them sell 253 single addresses, rather than 64, on the same /26. Having your own segment for a small block is very inefficient use of available address space.

      --
      I work for the Department of Redundancy Department.
    17. Re:Haven’t we been here before? by Lennie · · Score: 3, Informative

      Actually no version of IE (that means 6, 7 or 8 or Safari) on Windows XP supports SNI. :-(

      They use the system library, it does not use SNI.

      --
      New things are always on the horizon
    18. Re:Haven’t we been here before? by nahdude812 · · Score: 2

      I think you missed the point. Not only does it fail to provide any protection in the most likely interception scenario, but for that lack of protection, it also breaks the site for legitimate users. A little added security for no user inconvenience is ok - as long as you're realistic about the small protections it offers, but it's decidedly less ok when real users find they're unable to use your site as a result.

      You can make it harder to pick the locks (sniff session tokens) by nailing your front door shut (signing session tokens with user IP), but what good is that if you have an open window next to the door (it doesn't protect against the easiest form of the attack), except inconvenience those who would have gone through the front door (normal users)?

    19. Re:Haven’t we been here before? by Saint+Fnordius · · Score: 2

      Actually, the main reason why the password is https but the session ID is not so important is because people recycle their passwords, and session ID's are merely temporary. So it is sensible to keep a user's actual password encrypted, but not worry about the session if there is little to do other than browse the catalog or post a comment. Whenever any action requiring HTTPS such as final checkout is called up again, then often a good site will ask for the password again and not trust the session ID from HTTP.

  2. Certificate? by Lord+Lode · · Score: 3, Interesting

    Maybe because it requires certificates that cost money and annoy users when they expire?

    1. Re:Certificate? by spinkham · · Score: 5, Informative

      Free certs are available, and every bit as (in)secure as the paid standard ssl certs.
      http://cert.startcom.org/

      The "annoying users when they expire" is a symptom of the main problem.

      Well, actually it's 2 problems.
      For small hosters, IE(any version) on XP doesn't support SSL/TLS on virtual hosts. Everybody else does. http://en.wikipedia.org/wiki/Server_Name_Indication

      For large hosters, SSL key distribution and updates becomes a problem when using large server farms or CDNs. Doing SSL in hardware on load balancers solves this for server farms, while CDNs are a more difficult problem.

      Those are the main reasons. Latency and CPU usage are not deal-breakers today, though they are a factor.

      --
      Blessed are the pessimists, for they have made backups.
    2. Re:Certificate? by spinkham · · Score: 4, Informative

      The certs from StartCom are whatever you generate for them to sign. Last year they accepted 1024 bit RSA and 2048 bit RSA. LIke the rest of the SSL vendors, in 2011 only 2048 bit RSA certs are allowed for issuance, and full transition to 2048 only certs by 2013.

      Secondly, the 128 or 256 bit symmetric crypto has nothing to do with the SSL cert or provider, that's software settings on the host. 128 bit AES is widely considered secure against attacks for the next 20 years or so, and 256 bit should be secure for the as far into the future as we can guess. http://www.keylength.com/

      The (in)security I refer to has to do with the level of checking into who you are. Basically, they just send an email to administrator type address at the site you want a cert for, and if you get the email you are assumed to be the admin. This can be attacked easily through DNS flaws or just signing up for a webmail account with an address that the SSL provider thinks sounds like an admin account. This happened to many of the large webmail providers before they started blocking the common admin accounts for registration.

      XKCD was right. The common attacks are against the humans who run your DNS or mail providers, not that the crypto is weak.
      http://xkcd.com/538/

      --
      Blessed are the pessimists, for they have made backups.
    3. Re:Certificate? by gad_zuki! · · Score: 2

      This.

      A lot of people don't realize that the SSL handshake takes place before the client sends the host field to Apache or IIS. The server has no idea what site you are requesting. That means that if you have a virtual server with 200 sites then only one of those 200 can have an SSL cert. Can "Joe's Webhosting" ask for 199 IP addresses? What if all small and medium hosts did that? We'd hit the IPv4 address limit faster than we already are doing.

      Virtual hosting is the server side equivalent of NAT. Its largely a hack to get us by. IPv6 will solve this, when and if it gets implemented. Or the SSL spec needs to be changed. Heck, why not just store certs in the DNS record (once DNSSEC becomes popular) and get rid of paying the registries yet again. Regardless, there's no easy fix for this.

      Actually, I wouldn't mind seeing a complete SSL replacement.

  3. Re:Holy fuck! by WrongSizeGlass · · Score: 4, Informative

    Facebook and twitter don't have secure logins?!

    That's one more reason for me to never sign up with them.

    They have secure logins, just not secure sessions after you've logged in.

  4. Certs are a pain by BradleyUffner · · Score: 2

    For the company I work for it's because Certs cost money, and self-signed certs are a pain for users.

  5. Because getting a signed SSL certificate is $$$ by realityimpaired · · Score: 5, Insightful

    Subject says it all. It's expensive to get a signed SSL certificate. If I'm not doing commerce through the website, and it's just a blog of some sort, I'm not going to pay extra money for a certificate when I'm not making any money off it. A self-signed cert is fine for personal use, and I use it for my webmail portal, but it doesn't exactly look professional, or even legitimate, to joe user out there.

    *most* commercial websites do actually have an SSL cert for their e-commerce operations. For most, if not all, of the sites I ever use (except Slashdot), I can simply change the http to https and the site will work fine. But I don't really see the point in a website using https for anything that doesn't involve the exchange of personal or financial information. It's unnecessary overhead, and expense, for these websites. HTTPS does add extra sever load on their systems, you know. :)

  6. virtual hosts, money by kae_verens · · Score: 2

    1. it costs money to get an SSL from a recognised signing company
    2. SSL for virtual hosts is not supported by Internet Explorer (yet another problem with IE)

    1. Re:virtual hosts, money by vlm · · Score: 2

      4) Run on multiple ports. URLs like https://example.com:23456/index.html. This absolutely confuses the heck out of some firewall monkeys.

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  7. Because... by The+MAZZTer · · Score: 2

    ....every [sub]domain needs a dedicated IP for the certs to work properly.

  8. Re:Holy fuck! by realityimpaired · · Score: 2

    Dunno about Twitter, I'll never use the site. But Facebook does support full HTTPS connections, and there's an option in your profile to force Facebook to use https on every connection on your account.

  9. Correct by GameboyRMH · · Score: 2

    Yep, the one-line answer is:

    It's too CPU-intensive for the server.

    Cost could be an issue but it's like $100 a year? Hardly a problem for anything but the most amateur of blogs.

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
    1. Re:Correct by fuzzyfuzzyfungus · · Score: 5, Informative

      The fact that it can muck up cheap-n-cheerful 'zillion sites on one host' arrangements unless everybody's TLS ducks are in a row probably counts as a fairly significant cost, as well. Especially on the low end.

    2. Re:Correct by isopropanol · · Score: 5, Informative

      Also, HTTPS does not play well with proxy caches or load balancing.

    3. Re:Correct by ElusiveJoe · · Score: 4, Insightful

      True.

      Even with the mighty Google I can see the lag while using the secure version. And secure Wikipedia version stops working sometimes. Hell, I'm writing this on a website without HTTPS, maybe /. web masters could answer why is it like that, too.

    4. Re:Correct by muckracer · · Score: 2

      > 1998 called? Did you warn them about 9/11?

      I did. They already knew about it. :-)

    5. Re:Correct by icannotthinkofaname · · Score: 5, Funny

      Hey...1998 called

      Oh man! Did you warn them about the World Trade Center?

      --
      Let q be a radix > 1. I am in ur base-q, killing 10 d00ds.
    6. Re:Correct by JWSmythe · · Score: 4, Insightful

          But as we've seen proven, the CPU load isn't as big of an issue as is claimed.

          The reports where people said it was, were from an awful long time ago, discussing high loads and CPUs that were measured in Mhz (i.e., Ghz CPUs weren't even imagined yet).

          Right now, we have to look at a few issues.

          1) Users are familiar with typing http:/// . If you went https only, without a redirection from http:/// you'd lose traffic. Simple fix, do a redirection.

          2) Not everyone supports https still. If you include a piece from a 3rd party, you'll either get a broken lock, or the 3rd party data won't show.

          3) Google Adsense doesn't support it. Still. And people have been asking for years. They are a major revenue source for a lot of sites.

          4) Hosting https sites still require a unique IP for each site. If I, a a hosting provider, have 1000 sites on a server, I'd rather use one IP, than 1000 IPs.

          5) SSL certs must be renewed. You must have the cooperation of the provider. Certs are no longer $100/yr, if you shop around a little. Trustico has provided perfectly functional certs for $20/yr for a long time (with discounts for multi-year purchases). I've been using them for several years. For a blog that has very cheap hosting, even the $20 doesn't necessarily make sense.

          6) The time where there were huge compatibility issues with SSL implementations in browsers is gone, but you will still find the occasional app that doesn't have SSL compiled in by default, but that has become rare. At very least, all modern browsers support https:/// out of the box, regardless of where you are at.

        The biggest issue is, users don't generally care. On my site, I have a warning every page if you're viewing insecure, and encouraging you to click the link to switch to the https version. Less than 10% of the users ever switch up to the https version. The only time I enforce it is when a users logs in. When they try to log in, it forces them to https, and keeps them there for the duration of their session.

      --
      Serious? Seriousness is well above my pay grade.
    7. Re:Correct by dropadrop · · Score: 5, Interesting

      Also, HTTPS does not play well with proxy caches or load balancing.

      This is the main reason we have not been implementing it. Our environment relies heavily on caching and loadbalancing. We are trying to find ways around it though, especially to get all session-data to use HTTPS (but a requirement is that users are not scared with warnings about part of the content being unencrypted).

    8. Re:Correct by neorush · · Score: 5, Informative

      We use Pound for load balancing which makes requests to the cache servers, works great, very configurable, supports sessions, etc.

      --
      neorush
    9. Re:Correct by rekoil · · Score: 2

      You're talking about UCC certificates, and yes, they've been around for a while. The problem is browser adoption - there are still waaay too many people using IE6 out there.

    10. Re:Correct by palegray.net · · Score: 2

      It already works, although there are issues with older browsers and libraries not supporting it. I happen to use SNI for my stuff, but unfortunately others cannot afford to lose compatibility with older browsers.

    11. Re:Correct by rekoil · · Score: 2

      Yes, you can configure a proxy server (squid, pound, varnish, etc) to cache SSL content. However, client browsers don't and won't.

    12. Re:Correct by quacking+duck · · Score: 2, Interesting

      On point #4, it's been awhile since I played with webserver setup, but SSL certificates for public sites are usually tied to the server DNS name, not its IP. I'm pretty sure this means you can have more than one webserver/hostname entry, all with the same IP, and use host header names (IIS) or Name-based Virtual Host Support (Apache/others) to determine which site and certificate to connect the user to.

      There's still the occasional hiccup in recognizing certificate authorities, even big ones. My cell phone carrier's and my cable provider's accounts website renewed their certs recently, about six months apart; both times Firefox and mobile Safari failed to recognize the authority (Verisign!!), i.e. it didn't think the SSL session had been hijacked or that the server was mis-configured. Both browsers were up to date at the time. The connections were still encrypted, the certificate info looked in order, but I could not TRUST that I was connected to the right server if the browsers didn't! The next updates to both fixed this, but this should not be happening in this day and age.

      I've also dealt with server applications which don't permit SSL and non-SSL connections at the same time, it's all or nothing. This meant content authors and admins for that content management system-driven public website could not log in and work securely, without pointlessly forcing every public visitor into a secure session, too.

      None of these are reasons not to use SSL, of course, just that there are still some technical hurdles that crop up, sometimes unexpectedly.

    13. Re:Correct by skelly33 · · Score: 4, Informative

      "I'm pretty sure this means you can have more than one webserver/hostname entry, all with the same IP, and use host header names (IIS) or Name-based Virtual Host Support (Apache/others) to determine which site and certificate to connect the user to."

      ... and you would be incorrect. Name-based Virtual Hosting cannot be done with HTTPS. The reason is that the name of what is being requested is also encrypted in the SSL data. The only way for a web server such as Apache to know what virtual host to use is to look at the name. In order to get the name it would have to SSL decrypt the request. In order to SSL decrypt the request it needs to know what SSL key to use. In order to know what key to use, it would need to look it up in the name-based virtual host record. In order to do that, it needs to know the name... oops.

    14. Re:Correct by ls671 · · Score: 2
      --
      Everything I write is lies, read between the lines.
    15. Re:Correct by skelly33 · · Score: 2

      The spec changed. The implementations did not. Given IE's continued browser market share dominance and lack of support on still prevalent platforms, this can't be done without breaking compatibility. *shrug*

  10. Cost-benefit by Shoten · · Score: 5, Insightful

    Implementing HTTPS isn't quite as simple as just turning something on and walking away. For larger web-based infrastructure, the best practice involves use of SSL terminators to maintain performance at scale; the encryption load of doing SSL or TLS at the actual web server itself is a Very Bad Idea when you're handling a lot of traffic. But those devices are not cheap, and there's a substantial amount of effort in both architecting them into an environment and keeping them running well; it's like any other IT infrastructure, in that it adds cost and complexity. In some cases, other aspects of the environment would have to grow as well...if the IDS and/or IPS sensors, for example, wouldn't see traffic in that section that is 'in the clear' between the web servers and the SSL accelerators, the organization would have to decide between purchasing more of these (much more expensive) security devices and giving up visibility into attacks over what is likely their highest-risk bit of attack surface. For smaller sites, the complexity is lower but cost is a more significant factor, as (for much smaller sites) the challenge and uncertainty of maintaining certificates. And for what? For most sites I can think of, I would be hard-pressed to make a business case in support of ubiquitous SSL...why should the New York Times spend so much just to make sure someone else can't see what news I'm reading? Even if they sniff my account credentials off the wire, what harm could really be done with it that would justify the expense?

    Simply put, it's not free, and in most cases, the cost of security would be greater than the cost of the risk being mitigated.

    --

    For your security, this post has been encrypted with ROT-13, twice.
  11. A lot of stuff doesn't need to be secure by dkleinsc · · Score: 4, Insightful

    For instance, a large website where the primary goal is public commenting on interesting tech stories, or a public online encyclopedia - the whole point is that it's public, so encrypting it makes no sense.

    And SSL encryption has a non-zero cost: it takes cycles to encrypt and decrypt on each end, and costs something to get a certificate.

    --
    I am officially gone from /. Long live http://www.soylentnews.com/
  12. long discussion by roman_mir · · Score: 2, Interesting

    Part of this was discussed long ago, with browsers treating self-signed certificates worse than they treat plain unencrypted traffic, even when passwords are passed around in plain text, nothing will change, because it is a major PITA to deal with browser issues as well as with CAs.

    Here is a hint: create more incentives to use HTTPS, not fewer, and more people will use them.

    This is not going to be fixed until stupid browsers stop treating a new connection to a website, that is using a self-signed certificate as some sort of a virus, while absolutely not doing the same for plain HTTP connections.

  13. Why do certs cost $$$? by Anonymous Coward · · Score: 2, Interesting

    This is something that has really bothered me.

    I understand that a self-signed certificate is vulnerable to MitM... however, it's still better than plain-text! And we could be a little smarter about this too, couldn't we?

    SSH is a perfect example. When you first connect via SSH, you confirm that you trust the certificate. Your client then remembers the certificate for future use. Why doesn't web technology do this?!?

    Instead, when you self-sign a cert, browsers throw a hissy fit and shows a huge warning.

    I understand that you need a certificate chain for banks and things like that... Fine. Let them pay money for that. But at least give us the option of having self-signed certs that function. No, it's not as secure as a certificate chain, but it is better than plain-text.

    1. Re:Why do certs cost $$$? by Amnenth · · Score: 2

      Browsers exploding in fury when self-signed certs show up is a design decision to protect stupid users from themselves. Otherwise, Joe Sixpack is going to start blindly 'trusting' every self-signed cert he sees just to get the dialog box/popup whatever out of the way, just like he already blindly clicks 'ok' when faced with those fake antivirus popups.

    2. Re:Why do certs cost $$$? by jd · · Score: 2

      Actually, it's nowhere near as bad as everyone is making out. Sheesh, what a bunch of fussy fusspots.

      You have a deliberate "mitm" (otherwise known as a proxy) that has ALL of the certs (or, indeed, just one cert, since the object is to encrypt traffic, not necessarily strongly authenticate it). It can be multi-homed or it can have virtual hosts, it really doesn't matter worth a damn. This front-end box then runs plain HTTP requests to the actual server(s) hosting the content within the network.

      The advantage? A single SSL accelerator is relatively cheap. As the box is basically a router that SSLs on one side, you can go fairly low-end. All the number-crunching is done on the accelerator. The CPU is just comparing headers and copying data between interfaces. The total cost of such a machine is not zero, and you'd have to weigh it against the cost of packet sniffing and the cost of having to rebuild the system if an account got breached (think Sourceforge, the FSF, Fedora, amongst others), and the risk of this happening. Risk analysis is not a simple subject and most decisions ever made by anyone are based on naive risk analysis.

      In the end, if the risk analysis says that a dedicated SSL proxy is cheaper than the cost of not having one, then you're an idiot if you don't get one. If the risk analysis says not having one is cheaper, well, enable opportunistic IPSEC on the firewall and let people encrypt that way if they so wish.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  14. It's XP's fault. by spinkham · · Score: 4, Interesting

    Today one of the major reasons is that IE on XP does not support the SSL/TLS extensions for virtual hosting.
    When he says,"it's only partially implemented" he means everywhere but IE(any version) on XP.
    http://en.wikipedia.org/wiki/Server_Name_Indication

    --
    Blessed are the pessimists, for they have made backups.
  15. SSL issues by thetagger · · Score: 3, Interesting

    It's more expensive in terms of processing power, you add latency due to negotiation, you lose caching across sessions, moving the user across servers is not as easy, you lose some amenities like sendfile() support, you have to manage certificates, you have to buy certificates, and in most real-world settings it's a minor security improvement anyway because the biggest security issue is the user's own worm-infested machine.

  16. Well lets see... by mother_reincarnated · · Score: 2

    1) SSL certificates are not free
    2) SSL key exchanges are horribly expensive compared with serving a web page
    3) Right now EVERY web site would require a unique IP address

    Enough reasons?

  17. Some reasons by jolyonr · · Score: 5, Interesting

    Ok... In reverse order of significance:

    1. Expense (at least traditionally) of SSL Certificates. Although today that's not such a big issue, and an SSL certificate costs about the same as your domain registration. However, if you have multiple subdomains you still need a more expensive certificate.

    2. Complication. It can be a highly confusing process for someone who's not an expert to do the certificate request process and the associated installation of the certificate. I know the first time I tried to do it, it went horribly wrong and I spent a day trying to sort it out.

    3. Client Performance: SSL websites are slower than non-SSL websites. Not such a big deal again these days, but I remember when I had to wait it would seem forever for the images on my online banking site to load, cursing them every time for such a graphically-intensive SSL site.

    4. IP addresses: This is a big one, if you host multiple websites on your server, and you only have a single IP address, you can't host more than one SSL certificate. So you need more IP addresses (which is not easy nowdays). Big deal for small company hosted websites, which are often on shared IPs.

    5. Server Performance: A server that can cope with one million users per day using HTTP will not be able to cope with anywhere near that number of connections over HTTPS for obvious reasons. So you not only need a certificate, you potentially need a whole new server architecture to deal with it. Scale this up for a big business like Twitter or Facebook and you're talking implementation costs in high millions of dollars.

    --


    Please read my Canon EOS tech blog at http://www.everyothershot.com
  18. Re:Holy fuck! by Mascot · · Score: 2

    They have secure logins, just not secure sessions after you've logged in.

    Facebook fairly recently added an option to always use https.

    Twitter announced a few days ago that it was adding the same option. No idea if they've implemented it or just announced it though.

  19. The security advantage may not last long anyway by jenningsthecat · · Score: 2

    If HTTPS becomes ubiquitous, then there will be much more opportunity, as well as more incentive, to break the encryption consistently and therefore nullify the security.

    On the other hand, if everything is encrypted, the traffic that truly NEEDS encryption will be less likely to call attention to itself, because the 'needle' will be in a bigger 'haystack'.

    All in all I think it'll end up being a wash.

    --
    'The Economy' is a giant Ponzi scheme whose most pitiable suckers are the youngest among us and the yet-unborn.
    1. Re:The security advantage may not last long anyway by jd · · Score: 2

      If SSL (really TLS as SSL 3.0 is really becoming a dead protocol) can be broken, you must assume it already has been and that the only safe strategy is to get it broken in public so that it can be fixed. In other words, you want ubiquitous encryption and you want it as heavily tested as possible.

      (This reminds me of a story. Apparently, Rolls Royce were not impressed with the reliability of their Merlin engine, so they'd take one at random, ramp it up to full power and leave it until something burned out or broke. The engineers would then disassemble the engine, find the underlying cause and fix it in the design. After about 10 or so iterations of this, they had one of the best engines ever built. An expensive form of QA, but one of the best, which is why cryptography uses that same basic method.)

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  20. Other than the performance thing... by mmj638 · · Score: 3, Informative

    - For HTTPS to work seamlessly it requires a certificate signed by a trusted 3rd party, which usually (but not always) costs money. This would disadvantage smaller websites/businesses.

    - HTTPS also (currently) requires a separate IP address per certificate. This would mean the current practice of hosting large numbers of domains on one IP using name-based virtual hosting would not be viable, which is something the shared hosting industry really relies on. IP addresses are also a very limited resource at the moment.

    - HTTPS cannot be cached between the user's browser and the server. Even the user's browser uses more conservative caching which will further reduce performance.

    1. Re:Other than the performance thing... by mmj638 · · Score: 2

      Only if the client is running IE on Windows XP (or older). Every other system supports SNI

      That's wrong. The following won't support support SNI.

      * Internet Explorer (any version, even IE8) on Windows XP
      * Safari on Windows XP
      * Safari on Mac OS X 10.5.6
      * Any browser on Android
      * The browser on iOS 4
      * The browser on Windows Mobile 7
      * The browser on Blackberry
      * wget
      * Konqueror/KDE

      It's gonna be a long time before we can consider using SNI. Wouldn't be surprised if IE8/WinXP hangs around for many years.

  21. Re:IPv4 addresses are scarce by kju · · Score: 2

    Maybe you should choose a provider which does not rip you off.

  22. Re:Holy fuck! by gumbi+west · · Score: 2

    chat was disabled

    Sigh... I considered that a feature.

  23. Re:Cost by vlm · · Score: 2

    And regarding virtual hosts this problem has been solved as well, see http://en.wikipedia.org/wiki/Server_Name_Indication This technology is still not universally available

    A better URL is

    http://en.wikipedia.org/wiki/Server_Name_Indication#No_support

    Its a good solution if you want to get rid of 50% + of your users.

    Although theoretically you are correct that in a decade or so it will be a usable solution.

    --
    "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
  24. No, that's not right at all... by Joce640k · · Score: 2, Funny

    The correct answer is that since everybody chooses either "password", "123456" or "iloveyou" to guard their life secrets then there's no point in encrypting anything.

    --
    No sig today...
    1. Re:No, that's not right at all... by Spookticus · · Score: 2

      It is totally love, sex, secret and god You would never be able to hack the gibson. :(

    2. Re:No, that's not right at all... by geminidomino · · Score: 2

      Protip: If users don't give enough of an airborne copulation at a ventrally rotating pastry to choose passwords that aren't brain-meltingly stupid, then they don't care about encrypted transport to/from the web servers, and there's no point in eating the added costs

  25. But they're not unrelated... by itsdapead · · Score: 2

    THe problem is that the browsers persist under the myth that certs can ONLY be used for proving the identity of a host; and completely disregard the fact that an equally valid and completely unrelated task is traffic encryption.

    The trouble is, identity checking and encryption are inseparable.

    Public key encryption doesn't allow Bob to securely exchange data with Alice: it allows Bob to securely exchange data with someone claiming to be Alice who has given Bob what she claims to be Alice's Public Key.

    Without some way for Bob to verify that the person claiming to be "Alice" is, indeed, the real Alice that's about as much use as an ashtray on a motorbike.

    Where self-signed certificates are useful is when you've independently verified that the site you are connecting to is genuine (translation: you have crossed your fingers and decided that your piss-ant little site is not interesting to the black hats) - but the browser can't know that you've done that. The only responsible thing the browser can do is warn you that (as far as it is concerned) the connection could still be insecure before displaying the "secure connection" symbol.

    If you're using self-signed certificates then you need to be in close enough touch with your users to reassure them about the browser warnings. If you have too many users for that to be practical then you shouldn't be using self-signed certificates. Otherwise, you're acting like my bank, who cold call me and then wonder why I won't answer their security questions - they know they're genuine, but they can't get it into their heads that the customer doesn't know, and shouldn't assume, that.

    --
    In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
  26. Something to think about.... by Qybix · · Score: 2

    A couple of years ago, I saw a comparison of Apache/Red Had vs. IIS/Windows that left a lot of people scratching their heads. The central test of the comparison was a comparison of a couple of hundred clients trying to read the same files from the server at the same time. Anyone that knows networking basics would know that 100 clients trying to create http sessions over tcp/ip would each require the files to be spooled to them one at a time and the maximum through put of the 10baseT network they were using would be 10Mbps / (8 data bits + 1 stop bit) = 1.111MB/s which is exactly what the Red Hat server maintained. The windows server magically transported 100MB/s over the same wires! How could this be?!? My thoughts about this have always been that IIS was not using http over tcp/ip, it was using http over udp. That meant that all 100 clients could be added to a multicast group and receive the files at the same time. This does mean that you could never attain the same throughput over https, though, because each session would be forced to be separated.

    Just a quick thought..

    --
    Qybix ----- I do not have a belief system; I'm an Anti-theist and proud of it! Saying that not believing in anything i
  27. Re:Cost by TheRaven64 · · Score: 2

    How is it Microsoft's responsibility that people are still using a ten year old operating system?

    Calling XP a 'ten year old operating system' is hyperbole. Until Vista, it was the latest OS that Microsoft was shipping, so it's been under five years since there was a replacement available, four since Vista was available to the general public (January 2007). The system requirements for Vista were so high that it wasn't shipped with a lot of entry-level machines, especially netbooks. Microsoft was still shipping XP until January 2009 - two years ago.

    So, it's not so much a matter of people using a ten-year-old operating system as people using an operating system that was still being shipped on brand new machines a little over two years ago. Is it Microsoft's fault that people are still using this OS? Absolutely! People would be complaining very loudly if they weren't still actively supporting an OS that they only stopped shipping two years ago!

    --
    I am TheRaven on Soylent News
  28. everything has a cost by holophrastic · · Score: 2

    Forget about the computation on the server to encrypt everything, and about the computation on the client to decrypt everything. HTTPS requires three connections where HTTP requires only one.

    In short, because you need to have a signate ring, a sculptist, and a wax candle, in order to seal the envelope. LIcking glue is faster and cheaper.

    People forget what security is really about. It's about stopping people that you actually can stop from doing something that they're actually trying to do. It's not about stopping Ethan Hawk from opening your e-mail, and it's not about stopping an infant from stealing your car.

    Chances are that no one is actually trying to break into your twitter account. Unless someone is, or you suspect someone is, there's nothing to secure.

    By the way, it's safer to walk around with a body-guard. Have you hired one?

  29. Re:every bad why deserves four more by mmj638 · · Score: 2

    Why do you need a cert to establish privacy

    To protect against a man in the middle attack. The certificate ensures you are connecting to the server at the end and not some intermediate or impostor that's relaying the messages or posing as the server.

    Why is there no mode with encryption, but without the bother of an SSL certificate at all?

    Because that would provide no assurance that you are communicating with the server at the end and not some evil computer in between you and that server. It would make the encryption completely useless if you didn't know if the encrypted connection you've negotiated is with the server you want or is with an impostor.

    Why was it ever possible to send a password in clear text to begin with?

    Because people trusted the connection between their computer and their ISP and onward not to be easily to eavesdrop or intercept. With open wireless networks, this is not the case. As an aside, I've long thought that the existence of open wireless networks was the main problem here and nobody should be using those, but that's my opinion.

  30. Because its more processor intensive by Snaller · · Score: 2

    ...slows down browsing, and who gives a crap, for most sites it doesn't matter anyway.

    --
    If Google really cared they would fix Android Chrome to reflow text, instead of discriminating