Enabling Technologies – Secure Sockets Layer (SSL)

by Bill H.

Netscape’s Secure Sockets Layer (SSL) protocol is currently the most widely used method for performing secure transactions on the Web and is supported by most Web servers and clients including Netscape Navigator and Microsoft Internet Explorer.

The Secure Sockets Layer (SSL) protocol provides several features that make it particularly suitable for use in e-commerce transactions.

Privacy is guaranteed through encryption. Although information can still be intercepted by a third party they will be unable to read them as they have no access to the encryption key.

Integrity is also ensured through encryption. If information is received that will not decrypt properly then the recipient knows that the information has been tampered with during transmission.

Authentication is provided through digital certificates. Digital certificates provide the basis for secure electronic transactions as they enable all participants in a transaction to quickly and easily verify the identity of the other participants.

Encryption Process
Essentially, SSL is secret-key encryption nested within public-key encryption, authenticated through the use of certificates.

The reason that both secret-key and public-key encryption methods are used is because of the relatively slow speed of public-key encryption compared to secret-key encryption. Initially, the client and server exchange public keys, and then the client generates a private encryption key that is used only for this transaction. This is referred to as a session key. The client then encrypts the session key with the server’s public key and sends it to the server. Then, for the rest of the transaction, the client and the server can use the session key for private-key encryption.

An SSL connection is initiated by the client (normally a Web browser) by requesting a document to be sent through the HTTPS protocol as proposed to the standard HTTP protocol.  This is done by by simply prefixing the URL by “https” as opposed to “http”.

For example:

http://server.domain.com/index.html

requests the document index.html be sent through the standard HTTP protocol, whilst

https://server.domain.com/index.html

requests the same document be sent using the HTTPS protocol which incorporates SSL.

Here in detail are the steps taken during a SSL transaction:

  1. The client sends a request for a document to be transmitted using the HTTPS protocol by prefixing the URL with “https”.
  2. The server sends its certificate to the client.
  3. The client checks if the certificate was issued by a Certificate Authority (CA) it trusts. If not, it gives the user the option to continue or to terminate the transaction.
  4. The client compares the information in the certificate with the information it just received concerning the site: its domain name and its public key. If the information matches, the client accepts the site as authenticated.
  5. The client tells the server what ciphers, or encryption algorithms, it can communicate with.
  6. The server chooses the strongest common cipher and informs the client.
  7. The client generates a private (or session) key using the agreed cipher.
  8. The client then encrypts the session key using the server’s public key and sends it to the server.
  9. The server receives the encrypted session key and decrypts it with its private key.
  10. The client and the server then use the session key for the rest of the transaction.

An alternative secure protocol is the Secure Electronic Transaction (SET) protocol developed by Visa and MasterCard specifically for enabling secure credit card transactions on the Internet. Designed for cardholders, merchants, banks and other card processors, SET uses digital certificates to ensure the identities of all parties involved in a purchase. SET also encrypts credit and purchase information before transmission on the Internet.

Share and Enjoy:
  • Digg
  • Twitter
  • StumbleUpon
  • Technorati
  • Facebook
  • Sphinn
  • del.icio.us
  • Mixx
  • Google Bookmarks
  • Yahoo! Buzz
  • LinkaGoGo
  • MisterWong
  • Propeller
  • Faves
  • Live
  • NewsVine
  • Print
  • PDF
  • email

Related Posts:

Leave a Comment

Previous post:

Next post: