News for hackers. Stuff that matters.
Re:EFF: How to Deploy HTTPS Correctly by bluedevil2k on Tuesday November 16, 2010 @03:54PM (#1911611)
They are correct that everyone should be using HTTPS. It costs as little as $12/year for the certificate, there's tons of tutorials on how to set it up in Apache, and there's only a couple of hundred sites in the world that need to be concerned with the performance hit (no, I doubt your blog is on that list).
Re:EFF: How to Deploy HTTPS Correctly by btmorex on Tuesday November 16, 2010 @05:48PM (#1912050)
https incurs a heavy performance penalty for everyone. Server load isn't the problem; a large increase in latency for every single connection is.

Your typical blog is probably going to suffer even more from enabling https globally when compared to major sites because not as much effort has been put into combining js, css, and images into sprites.

Re:EFF: How to Deploy HTTPS Correctly by mootothemax on Tuesday November 16, 2010 @06:01PM (#1912098)
I wish I could uprate you with more than one vote.

Seriously, https performance sucks from start to finish. If the average user doesn't care about https, but does care about performance, who are they going to go with - you or your faster competitor?

Re:EFF: How to Deploy HTTPS Correctly by cookiecaper on Wednesday November 17, 2010 @02:54AM (#1913375)
Probably depends on if their account gets hijacked at your site or the site of your fastest competitor.

I agree that anonymous or non-logged-in activity has no need of HTTPS, but anything that's transferring cookies, passwords, or other important user or session information should be HTTPS.

Re:EFF: How to Deploy HTTPS Correctly by mike-cardwell on Wednesday November 17, 2010 @04:45AM (#1913648)
Google is currently working on something called "False Start" to reduce the number of roundtrips for an SSL connection to reduce latency. I believe there is already code in Chrome for this.
Re:EFF: How to Deploy HTTPS Correctly by chrisbroadfoot on Wednesday November 17, 2010 @01:39AM (#1913191)
The main detractor is inability for intermediate parties/networks to perform caching.

You can't cache something that's encrypted!

Re:EFF: How to Deploy HTTPS Correctly by _delirium on Tuesday November 16, 2010 @04:05PM (#1911647)
Is there a good way to set up a Varnish or Squid-like caching proxy in front of HTTPS, or is that by design impossible? My fairly small sites don't generally have performance problems, but on the occasions that they get Slashdotted or on the front page of Reddit, the caching sure helps keep things moving.

Edit: It looks like the best way might be to do SSL between the client and nginx on my side acting as a reverse proxy, and then non-SSL internally on my side? Not sure how that setup compares to Varnish in general, but it's probably fine for my purposes.

Re:EFF: How to Deploy HTTPS Correctly by bluesmoon on Tuesday November 16, 2010 @04:36PM (#1911805)
yep, you'd use something like nginx or apache traffic server and set that up to serve SSL.

One special case though, if you have multiple servers that serve your content load balanced, and if these servers are in different colocations, then you probably need to run any sync between them over SSL. Even if you do control the link between the two boxes, there's that off chance that your link goes down and the IP layer automatically routes traffic through a different set of routers.

Re:EFF: How to Deploy HTTPS Correctly by cosmicray on Tuesday November 16, 2010 @04:05PM (#1911649)
one nit to pick... there are still people stuck on slow connections. they are not always there by choice. In some cases the infrastructure is lagging the advances in content proliferation. when you get to dialup (the remaining ubiquitous and typically unlimited connectivity) running HTTPS where it is not needed is painful. v90 is only able to achieve compression on HTTP traffic. HTTPS traffic ends up moving at 40-50% the speed of HTTP traffic. While data security is certainly a valid objective, not everything moving as HTTPS needs to do so.
Re:EFF: How to Deploy HTTPS Correctly by mike-cardwell on Wednesday November 17, 2010 @04:48AM (#1913653)
It's a trade off. Security vs performance. Personally, I think a small reduction in performance for a massive increase in security is a worthwhile exchange. Other people don't think so.
Re:EFF: How to Deploy HTTPS Correctly by ScottWhigham on Wednesday November 17, 2010 @09:15AM (#1914256)
I'm not attempting to verify the veracity of OP's statement but, going on face value, OP says "40%-50% slower". Surely you do not consider that a small reduction in performance, do you?
Re:EFF: How to Deploy HTTPS Correctly by mike-cardwell on Thursday November 18, 2010 @01:02PM (#1918646)
I don't recognise the 40%-50% figure. I've been using the HTTPS-Everywhere Firefox addon and I notice a very small slow down on some sites, and nothing noticeable on others.
Re:EFF: How to Deploy HTTPS Correctly by someone_here on Tuesday November 16, 2010 @04:07PM (#1911661)
So I've been setting up all my sites as separate domain names, with things like code.domain.com and email.domain.com. Should I migrate these services, or is there a way to use HTTPS on many subdomains?
Re:EFF: How to Deploy HTTPS Correctly by bluedevil2k on Tuesday November 16, 2010 @04:09PM (#1911671)
You can buy a global wildcard certificate that lets you create a domain name for *.domain.com. It costs like $199/year on GoDaddy I think, so you'd have to figure out if you think it would be worth it over getting individual certificates as $12/cert.
Re:EFF: How to Deploy HTTPS Correctly by tbrownaw on Tuesday November 16, 2010 @04:17PM (#1911711)
> would be worth it over getting individual certificates as $12/cert

Which you can't really do in shared-IP virtual hosting, since SNI support is still a bit spotty.

Re:EFF: How to Deploy HTTPS Correctly by techiferous on Tuesday November 16, 2010 @05:31PM (#1911995)
"everyone should be using HTTPS"

Can't the argument be made that if you are a startup and have launched a product to test the market, it would take up too much developer time to think about https? Depending on the nature of the service, shouldn't you defer the extra effort until only after you've validated the product/market fit?

Re:EFF: How to Deploy HTTPS Correctly by moshezadka on Tuesday November 16, 2010 @08:20PM (#1912520)
Well, the contradictory argument can be made as well: If you're a start-up, and your early adopters get annoyed because someone made sure Firesheep works with your web site, and they're all getting pranked, they're going to decide they won't bother.

OTOH, I am writing this comment on an open wireless router.

On the gripping hand, nothing I put here is private, and if someone "pranks" me, I can just login again and delete offensive content. Karma isn't actually money...

Re:EFF: How to Deploy HTTPS Correctly by mike-cardwell on Wednesday November 17, 2010 @04:53AM (#1913663)
Your local network admin, your ISP, any ad networks your ISP has or will have arrangements with and your government can log all the websites you visit and build profiles of you because https isn't used everywhere.

This might not bother you individually, today. But maybe it will cause problems for you in the future if laws change? Maybe it is causing problems for a lot of people who aren't you today? Maybe it is causing problems for citizens in countries other than yours?

The World would be better off if https was used everywhere.

Re:EFF: How to Deploy HTTPS Correctly by bluedevil2k on Tuesday November 16, 2010 @05:42PM (#1912027)
It's $12 and 15 minutes, not a big investment.
Re:EFF: How to Deploy HTTPS Correctly by techiferous on Tuesday November 16, 2010 @07:13PM (#1912326)
Surely you're understating the time? 15 minutes sounds like the "happy path" estimate. Don't you have to think about mixed content and other edge cases? Or do these just not come up that often?
Re:EFF: How to Deploy HTTPS Correctly by efsavage on Wednesday November 17, 2010 @10:24AM (#1914492)
It's obviously going to be easiest if you do it from the beginning, but even retrofitting won't be a huge issue. It's probably also easier if you secure your entire site rather than piecemeal (like just for logins).

I actually did it last night, from yum install httpd to (self-signed) SSL in less than 15 minutes. There are some webapp considerations, but they are negligible when compared to other security efforts like XSS diligence.

Re:EFF: How to Deploy HTTPS Correctly by amalcon on Tuesday November 16, 2010 @08:30PM (#1912538)
Or rather, everyone should be using HTTPS once XP dies. Until then, HTTPS breaks the shared hosting model.
Re:EFF: How to Deploy HTTPS Correctly by mike-cardwell on Wednesday November 17, 2010 @04:54AM (#1913669)
Until XP or IPv4 dies. I'm guessing IPv4 will be around longer than XP though.