Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, iphone help, ipod help, AdSense, MySpace, Sony PSP help, Mp3 players, Windows XP, Windows Vista, Linux, SEO, Mac OS X, Facebook, Twitter and LinkedIn.

How does SSL Work?

I'm building a site that has pages with confidential information, and because of that, I use SSL to encrypt the information. But when the user enters the SSL environment (https), an annoying window appears with a security alert saying: "The certificate was issued by an organization, which you haven't selected as trustworthy" How do I get rid of this message?


Dave's Answer:

Fortunately for both of us, I have recently been chatting with Christian Barmala, one of the smartest people I know in the public cryptography field, and he supplied me with a detailed answer to your question:

SSL does two things: First, it encrypts the communication between client and server, so there is no use in tapping the line and wait for the user to type in his secret password. That's what you want to do and that's what works already despite the "annoying message". But how can the user know that the web site, which asks him to type in his secret password actually belongs to you and isn't an imitation meant to seduce him to disclose his password?

That's where the other purpose of SSL comes into play. The certificate, which is installed on the server in order to enable SSL is supposed to be signed by a neutral 3rd party who vouches for your identity. You probably did a "quick and dirty default" install and used a "self signed certificate". Technically there's nothing wrong with this, but from a logical perspective, it means you vouch for yourself, which obviously doesn't add any trustworthiness to your site.

The 3rd party, you need, is called a "Certificate Authority" or short "CA". Technically everyone can be a CA. Actually that's what you did already, since you issued a certificate to yourself. Very often the IT department operates a corporate Intranet CA and issues certificates for all machines, which belong to the organization. Only a few organizations however are considered trustworthy beyond the limits of their own organization. They are listed in your Web browser.

In MSIE you find them under "Tools | Internet Options | Content | Certificates | Trusted Root Certificate Authorities". These are commercial organizations. If you ask them for a certificate, they do a more or less extensive check of your identity and charge you more or less money. This expense is adequate for e-business, but way too much for a private or non-profit projects.

Different attempts have been made to create a "community CA", which is operated by volunteers from the Open Source community and which issues certificates to private people and non-profit organizations for free. The issue however is that operating a CA and vouching for other people involves a significant responsibility, while Open Source projects usually shift the responsibility along with the source code to the user. There is some contradiction in having a volunteer working for free, but obliging him to do various things in due time and making him responsible for the results.

Currently the most promising project is cert.StartCom.org. They have a commercial part to pay their bills and the have a free part to serve the community. At the moment of writing this article, they are not listed in your browser and you get the "annoying window", but they filed the documents, which are necessary to request listing.

Thanks, Christian, for your detailed answer!



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon    

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

Thanks a lot for your Answer Dave, it cleared me a lot. I will see how i can get the CA certificate.
Thank you very much!!!
Sebastian from Argentina

Posted by: Sebastian Horvath at October 2, 2005 4:28 PM

In Connect Safely Wireless Security and Privacy Guides (by Dave Taylor and myself) this is also discussed, from the perspective of what to watch out for to detect someone snooping in on your HTTPS sessions.

http://www.connectsafely.com

Posted by: Chris Buechler at October 3, 2005 12:05 AM

I am wanting to run two or three domain names from the one server (currently using Windows 2003)and wish to have an SSL applied to each domain name. They will not be 'sub' domain names but completely seperate.

Can you advise on how this is achieved or can you point me in the right direction to get advice?

Thank you

Posted by: Adrian Richards at May 5, 2007 3:12 AM


I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Uniblue: Free Virus Scan


Join Me At:
Aloha Social Media Summit, Oct 2008


Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Member of the B5Media Network

Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]