An Introduction To SSL/TLS: Providing Secure Communication Over The Internet
An Introduction To SSL/TLS: Providing Secure Communication Over The Internet
An Introduction To SSL/TLS: Providing Secure Communication Over The Internet
9
TLS: Privacy
• Encrypt message so it cannot be read
• Use conventional cryptography with
shared key
– DES, 3DES
– RC2, RC4
– IDEA
A B
Message $%&#!@ Message 10
TLS:Key Exchange
• Need secure method to exchange secret
key
• Use public key encryption for this
– “key pair” is used - either one can encrypt
and then the other can decrypt
– slower than conventional cryptography
– share one key, keep the other private
11
TLS: Integrity
• Compute fixed-length Message
Authentication Code (MAC)
– Includes hash of message
– Includes a shared secret
– Include sequence number
• Transmit MAC with message
12
TLS: Integrity
• Receiver creates new MAC
– should match transmitted MAC
A B
Message Message’ MAC
MAC MAC’ =?
13
14
TLS: Authentication
• Verify identities of participants
• Client authentication is optional
• Certificate is used to associate identity
with public key and other attributes
A B
Certificate
Certificate
15
TLS: Overview
• Establish a session
– Agree on algorithms
– Share secrets
– Perform authentication
• Transfer application data
– Ensure privacy and integrity
SUMMARY
• SSL/TLS address the need for
security in internet communications
– Privacy – conventional encryption
– Integrity – message authentication codes
– Authentication – X.509
• SSL in use today with web browsers
and servers.
Thank You