News for hackers. Stuff that matters.
Re:Ask HN: Put my entire website behind ssl? by rdin on Thursday April 07, 2011 @04:56PM (#2421164)
We had some issues integrating 3rd party systems, such as the Twitter button, which has had an invalid certificate for months now. If your site can live without these bells & whistles, then you should investigate and see if your site can take the performance hit.
Re:Ask HN: Put my entire website behind ssl? by rubyskills on Thursday April 07, 2011 @05:00PM (#2421178)
Wow, I didn't think about twitter's button. :-/ We use the twitter widget.. Do you know if the twitter js is behind a valid cert?
Re:Ask HN: Put my entire website behind ssl? by rdin on Thursday April 07, 2011 @05:07PM (#2421206)
Unfortunately, it's been invalid for awhile. You can check it out for yourself here:

http://platform.twitter.com/widgets.js vs https://platform.twitter.com/widgets.js

Re:Ask HN: Put my entire website behind ssl? by rubyskills on Thursday April 07, 2011 @05:14PM (#2421238)
Drat! Someone over at twitter should fix this. :(

Luckily, we don't use that js, we use:

http://twitter.com/javascripts/blogger.js

and I just checked the certificate behind this and it's valid (I should hope twitter's main cert is valid!):

https://twitter.com/javascripts/blogger.js

and we use the json API:

http://api.twitter.com/statuses/user_timeline/healpay.json?c...

which also happens to have a valid cert:

https://api.twitter.com/statuses/user_timeline/healpay.json?...

So it looks like we're in the clear for this at least :)

Re:Ask HN: Put my entire website behind ssl? by trotsky on Thursday April 07, 2011 @04:42PM (#2421122)
Are there any SEO or other indexing issues that crop up if you're only running TLS?
Re:Ask HN: Put my entire website behind ssl? by mattgaidica on Thursday April 07, 2011 @05:00PM (#2421180)
Encrypting site content increases server load, so response time may lack a little.. and we all know Google does take that into account. Also, it might be important that robot files and sitemaps are under the https protocol. I am guessing Google is pretty darn smart about it, I can only imagine though that a broken certificate throws a red flag.
Re:Ask HN: Put my entire website behind ssl? by rubyskills on Thursday April 07, 2011 @05:05PM (#2421201)
Ha! Interesting.. I wonder if Google does count that against you since part of their latest algorithm factors in page load times.. though I would think that having your site behind https might give you some extra kudos somewhere.. considering you verified the integrity of your site at least.. (ALTHOUGH, there was that recent security breach where we someone can spoof being a CA...)
Re:Ask HN: Put my entire website behind ssl? by mattgaidica on Thursday April 07, 2011 @05:09PM (#2421219)
Yea, I am sure there is some top secret Google magic if they are forced through SSL!
Re:Ask HN: Put my entire website behind ssl? by rubyskills on Thursday April 07, 2011 @04:43PM (#2421129)
This is a good question! I have no idea. I know that there are sites that do run behind SSL (like paypal) and their pages seem to appear on google just fine. As far as how this impacts your PR, I have no idea.
Re:Ask HN: Put my entire website behind ssl? by rubyskills on Thursday April 07, 2011 @07:44PM (#2421719)
Just noticed that www.mint.com does it too...
Re:Ask HN: Put my entire website behind ssl? by BallinBige on Thursday April 07, 2011 @04:20PM (#2421049)
well, paypal does :]
Re:Ask HN: Put my entire website behind ssl? by rubyskills on Thursday April 07, 2011 @04:23PM (#2421059)
Did it make you feel safe knowing that it went straight to https? I know PayPal has a login screen on their homepage so maybe that is the reason they make you go straight to https?
Re:Ask HN: Put my entire website behind ssl? by BallinBige on Thursday April 07, 2011 @04:36PM (#2421105)
yes, warm + fuzzy
Re:Ask HN: Put my entire website behind ssl? by mattgaidica on Thursday April 07, 2011 @04:33PM (#2421091)
No. I think the HTTPS in the browser prompts a user to think there is confidential information being passed when your just browsing, so now your break user experience. The app portion could be, and should be for any semi-secret information, but keep the front-end clear of it. Plus any and all external resources in-page must be https, it might hang you or a designer up down the road and break your cert.
Re:Ask HN: Put my entire website behind ssl? by rubyskills on Thursday April 07, 2011 @04:42PM (#2421121)
Very good points!

It's very interesting to me that when SSL opens up, you immediately feel like confidential information information is going to be passed (which is usually the case).. I didn't think about that before!

The app portion is def. protected by SSL and switches to that context when you hit the login path.

Your last point is interesting too, as we do pull in external resources such as google fonts, jquery (google's CDN), analytics, etc. but have managed to find an SSL version of those URL's too (luckily). I do see this becoming painful for designers moving forward though when they're trying to pull in external resources that lack support for https url's.

All very good points.

Do you think the average user notices the SSL activation bar?

Re:Ask HN: Put my entire website behind ssl? by mattgaidica on Thursday April 07, 2011 @05:06PM (#2421204)
Yea, luckily nearly every major API and service (Amazon, Facebook, Google..) has an encrypted version to pull from. So as long as the entire team understands that, then I only have the usability issue as an argument. If we could get GoDaddy and other hosts to have like a $10 "Add SSL" feature, I think we would see a really good adoption of it being the standard!
Re:Ask HN: Put my entire website behind ssl? by HerraBRE on Thursday April 07, 2011 @04:40PM (#2421114)
I disagree. I might not spring for an EV cert in most cases, but using basic encryption to protect against casual eavesdropping should be the rule, not the exception.
Re:Ask HN: Put my entire website behind ssl? by mattgaidica on Thursday April 07, 2011 @04:50PM (#2421147)
I am 100% with that mentality, I guess I just see the overhead and understanding of HTTPS causing more problems in practice than solutions for developers who are not security-centric. Think we'll ever see google.com go to SSL?
Re:Ask HN: Put my entire website behind ssl? by rubyskills on Thursday April 07, 2011 @04:55PM (#2421163)
I'm on this boat too. It irritates me that facebook is pretty wishy washy about which urls they decide to encrypt and which they don't...