Today, more and more people are using the Internet to conduct business transactions. One thing that is for certain, the Internet is not a private place.
Nefarious individuals can easily read email messages that are sent over the Internet. Additionally, it’s not hard to send an email as someone else and if the receiver of the email is not careful they will assume that it came from the individual whose email address was just spoofed. A second area of concern is the increase of e-commerce web sites. More and more businesses are aware of the consumer spending that happens on the Internet and are setting up websites to cash in on this spending. Any miscreant can set-up a website and abuse consumer trust. How is a consumer to know that they are actually dealing with whom they think they are buying from? Additionally, there is the credit card transaction that is needed for the payment of goods. Most web traffic is sent via clear text. How is my credit card information protected?
Caveat emptor? So how do we safeguard this information? Digital certificates!
Digital certificates ensure three things, one that the entity is really who they say they are, two that the message is kept private through the use of encryption and three that the message has not been tampered with. Digital certificates make use of asymmetrical keys. The security afforded by asymmetric cryptosystems depends on mathematical problems that are difficult to solve, such as factoring large integers into primes (Mactaggart, 2001). Asymmetrical encryption includes a private key and a public key. They are used for the encryption process and they serve a few different roles. First the public key is used to encrypt data that only the corresponding private key can only be decrypted. This process secures the information that is put out on the wire. The private key is used to encrypt data that the owner of the key wishes to share. This process vouches that the information is truly from the individual that sent it. It is for this reason that the appropriate safeguards are put into place to secure the private key. The next thing that is part of a digital certificate is the entity’s information. Entity is used because the information can be an individual, organization or a computer. This is the information that tells the relationship between such things as the user’s name and their email address or a company’s name and where they’re located or a particular computer and it’s associated Fully Qualified Domain Name (FQDN). The last thing that is part of a digital certificate is a trusted third party endorsement. There are various different ways to do this. One of the most common is to use a well-known Certificate Authority (CA) such as Verisign. A CA issues Digital Certificates that contain public key and private key pairs. The CA also attests that the public key contained in the certificate belongs to the person, organization, server or other entity noted in the certificate (Various, 2007).
There are two common uses for digital certificates, one to secure web (or other network) transactions and two to confirm the identity of the entity your dealing with.
SSL or Secure Sockets Layer Certificates serve to combat the problems of sending sensitive data over the Internet. SSL provides your Web site’s users with the assurance of access to a valid, “non-spoofed” site, and it prevents data interception or tampering with sensitive information. Support for SSL is built into all major operating systems, web applications, and server hardware (verisign.com, 2005). This becomes particularly important when dealing with e-commence transaction. Most business transactions on the Internet contain some kind of sensitive information. In the real world things like credit card numbers, social security numbers, bank account numbers are often closely guarded and the individual controls access to this information. As mentioned above the Internet is not private and without encryption your private information can be easily read.
SSL connections make use of both asymmetrical and symmetrical encryption. The first thing that happens in an SSL connection is the client computer makes a network connection with a server that is using SSL certificates. This happens on various different ports depending on which protocol (WEB, POP, SMTP, etc) is being used. The server then passes the client computer its public key. At this step the client needs to determine whether or not to accept this public key. There are various methods to check the validity of the key. It can check that the public key and the server’s FQDM match. It checks to make sure that the key has not been revoke or is expired. It checks the endorsement or issuer of the key and verifies them as a trusted party. Once the trust is established, the client will create a session key. The client takes that key and encrypts it with the server’s public key. It then encrypts that with it’s (the client’s) private key. This is done so that the server knows that the encrypted session key is really coming from the client. The server decrypts the session key and uses the session key to encrypt all data thereafter. The session key is an example of symmetrical encryption, both sides are using the same key to encrypt and decrypt the information.
The use of Digital IDs is designed to combat the misuse of email systems and to assure the email’s recipient that the email is truly from the sender. A Digital ID makes it possible to verify someone’s claim that they have the right to use a given key, helping to prevent people from using phony keys to impersonate other users (nrc.gov, 2000). Digital IDs make use of public/private keys. All for public/private key encryption depends on trust and making sure that the keys are real.
Digital ID’s work by hashing the text message you want to send. The hashed message creates what’s called a Message Digest or MD. The MD is then encrypted with the sender’s private key. This creates what is called a Digital Signature for that message. The recipient of the message then decrypts the digital signature using the sender’s public key. The recipient must also hash the text message to get an MD. The unencrypted MD is compared to the MD that the recipient created and if the two match then the message is known to have come from the sender. The use of Public/Private keys relies of the proper protection of the private key. It is assumed that proper measures have been put into place to protect the private key and that only the owner of the private key has access to it.
So how do we know that the keys we are dealing with are valid and trusted? There are two different ways this is done. One is with the use of PKIs or public key infrastructure systems. A PKI contains the certificate storage facilities of a certificate server, but also provides certificate management facilitates (the ability to issue, revoke, store, retrieve, and trust certificates) (pgpi.org, 1999). Examples of well-known PKIs are Commercial CAs such as Verisign or Geotrust. These organizations are trusted because they perform the due diligence to ensure that the certificate that they issue is indeed being given to the rightful owner. The other way is through a Web of Trust. The WOT is a trust model adapted from the original PGP (Pretty Good Privacy) Web of Trust, whereby people certify one another in order to establish a level of trust among people who have never met (thawte.com, 2004). The WOT relies on other individuals to endorse or verify the validity of other members credentials. With this system you trust a much bigger group.
References
Mactaggart, Murdoch, (2001, March 1). Introduction to cryptography, Part 3: Asymmetric cryptography, Retrieved March 7th from http://www-128.ibm.com/developerworks/library/s-crypt03.html
Unknown, (1999). How PGP Works, Retrieved March 9th from http://www.pgpi.org/doc/pgpintro/#p14
Unknown, (2000). NRC- Introduction to Authentication, Retrieved March 11th from http://www.nrc.gov/site-help/e-submittals/faqs/intro-auth.html
Unknown, (2004, July 14). Protect your E-Mail and Join the thawte Web of Trust, Retrieved March 8th from http://www.thawte.com/wot/index.html
Unknown, (2005, May 24). What Every E-Business Should Know about
SSL Security and Consumer Trust, Retrieved March 8th from http://www.verisign.com/static/017444.pdf
Various, (2007, March 6). Certificate authority, Retrieved March 11th from http://en.wikipedia.org/wiki/Certificate_Authority