Quantcast



Docs


Blogs


Forums


Samples


Media


Labs


Resources

 




DevCentral > Weblogs > Joe Pruitt - A Software Architect's take on Network Security
 Google Chrome doesn't want you to visit google.com securely!
posted on Friday, September 05, 2008 8:49 AM

GoogleSSLError I was playing around with Google Chrome the last few days and of course the first thing I did was login to my personal email account on Google Apps.  Everything seemed to work great so I went ahead and visited a few other sites.  Somewhere along the way I received an error page and clicked through it not thinking anything of it.

Yesterday on the DevCentral Podcast, Colin was talking about his recent tech tip on "Can iRules fix my cert mismatch errors?" and that reminded me of that error message.  So I went back and checked it out and sure enough, it was a mismatch error.  The image on the right is the security warning in Chrome and below is the same warning from FireFox 3.  So I guess FireFox doesn't want you to visit google.com securely either?  In fact, neither does Microsoft!

GoogleSSLErrorFFWant to try it out for yourself?  Load up your browser and type in https://google.com.  Not "www.google.com" but just "google.com" and make sure you put in "https" instead of "http".

As Google's own Chrome browser states:

quote_thumb You attempted to reach google.com, but instead you actually reached a server identifying itself as www.google.com.  This may be caused by a misconfiguration on the server or by something more serious.  An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of google.comYou should not proceed.

Google's own product is telling us that you should not proceed to google.com!  What??? What the heck is going on?  Is this a security issue?  Has someone taken over Google's servers?  Is this a fake version of Google that some hacker is trying to get me to visit?  In this case, of course not, but it is an issue with the way they have configured their SSL certificates.   I guess Google is assuming that their users will always type in "www." before "google.com" and didn't worry about testing the secure version of their site without the "www" prefix.  Shame on you Mr. Network Guy in Google's Network group!

GoogleCertificateSo what's going on?  When you purchase a SSL certificate, the domain name of your site is included in the certificate along with other information such as your Organization name and other information that identifies the website that your certificate is securing.  The information in Google's certificate is to the right.  You'll see that the "Common Name (CN)" in this certificate is www.google.com.  Google obviously has the same certificate protecting both www.google.com and plain old google.com.  When you browse to the later, the browser sees that the Common Name in the certificate doesn't match the domain you are requesting.  Security is important so an exact match is performed and if it's not the same, you get this standard security warning.

Looks like Google needs to pony up and spend the couple hundred bucks to buy a second certificate for those of us out here that like to save the wear-and-tear of our "w" keys. 

Tsk, tsk, tsk...  Rookie mistake Google!

-Joe



Email This
  del.icio.us
      

Feedback


9/5/2008 4:36 PM
Gravatar "Google's own product is telling us that you should not proceed to google.com! What??? What the heck is going on? Is this a security issue? Has someone taken over Google's servers? Is this a fake version of Google that some hacker is trying to get me to visit? In this case, of course not"

Since the cert doesn't match, how can you tell?

"So I guess FireFox doesn't want you to visit google.com securely either? In fact, neither does Microsoft!"

They do, which is why they display an error message when they can't be sure it's secure.
abc

9/6/2008 3:15 PM
Gravatar Google has your security at heart when they're busy collecting your confidential business data, bank account details, medical information and personal preferences in pornography ;-)

Seriously, there appears to be other stuff odd in the Google Chrome code. For instance, Chrome works in Linux in the latest version of Wine, except for SSL. (And note it works in Wine but doesn't work on Windows 2000. o_0 )

Chrome appears to be just a little rapidly hacked together. They claim Mac and Linux versions are coming soon you betcha, but if you look through the code it's pure Windows thinking all the way with no consideration of cross-platform deployment whatsoever. I predict you'll see it working perfectly in Wine (next 2-weekly version or the one after) well before a native Mac or Linux version comes out.
David Gerard

9/6/2008 8:14 PM
Gravatar Hmm, the same "rookie" mistake exists at other popular browser manufacturers (microsoft.com, mozilla.org), or Certificate vendors (verisign.com, thawte.com) or banks (chase.com, smithbarney.com, paypal.com) and a few other majors sites like ibm.com, ebay.com, amazon.com. Maybe the web is designed so really care about the "www" and a new keyboard is in order.
Dave Boldt

9/7/2008 10:44 AM
Gravatar This appears to be a Wine issue, not a Chrome issue. Running Chrome in wine here I cannot access any SSL site; running Chrome on my wife's Vista machine I have no problems with SSL connections.
John Thompson

9/8/2008 7:25 AM
Gravatar abc, you can be fairly sure if the domain name (ie, google.com) you are going to is owned by the company. I double checked with whois.com and google.com is owned by Google. If www.google.com has a valid cert, but google.com does not, then you can be fairly sure that when connecting to the later, you are going to the same company as the first.

-Joe
Joe Pruitt

9/8/2008 7:29 AM
Gravatar David, I think it's a good bet as well for something to work in Wine before Mac or Linux because it will likely be fewer tweaks to get it there. Have you looked at the code? From what basis are you stating that it's "pure Windows thinking all the way with no consideration of cross-platform deployment". Are they using the Win32 APIs without an abstraction layer? I've read comments by noteworthy unix devs that stated that the code looks very clean and elegant - not something I'd suspect if the code was geared to windows dev.

-Joe
Joe Pruitt

9/8/2008 7:31 AM
Gravatar John, I think that was David's point in that it SSL didn't work while running under Wine. I've tested it under Vista and XP and seems to work fine in both cases. I haven't tried Win2k though - not sure if that is their target audience since that version is going on 9 years old.

-Joe
Joe Pruitt

9/16/2008 4:06 PM
Gravatar there are so many advantages and features with Chrome, such as it's speed, for example; the main issue i have with it is it's cookie management
film fan

9/16/2008 4:16 PM
Gravatar film fan, cookie management as well as bookmarks. But I'm sure those things will come over time.

-Joe
Joe Pruitt
 Leave Feedback
Title  
Name  
Email
Url
Comments   
Please add 2 and 6 and type the answer here: