SSL MQ
SSL MQ
SSL MQ
MQ and SSL
Neil Kolban
IBM Corp
[email protected]
Overview
Security
Goals of security
– Confidentiality
– Message integrity
– Endpoint Authentication
Encryption (1)
Encryption
– Data confidentiality
– Plain text vs Cipher text
Encryption (2)
Encryption C I
– ƒE(Plain) = Cipher D N
– Example: ƒE(“HEAD”) = “BQTN” E Q
F C
Decryption
– ƒD(Cipher) = Plain G D
I A
… …
Z R
Encryption Decryption
Keys
–Shared secret key Plain Cipher Cipher Cipher
K=1 K=2 K=n
–Symmetric cryptography
A T N O
–Common algorithms
B M T W
–DES
C I Y E
–RC2
–RC4 D N C T
E Q P S
Encryption F C S C
–ƒE(Plain, Key) = Cipher
G D U I
–ƒE(“HEAD”, 2) = “LPNC” H B L N
I A E F
Decryption
–ƒD(Cipher, Key) = Plain … … … …
–ƒD(“LPNC”, 2) = “HEAD” Z R M H
Encryption Decryption
Two keys
– One public (known to everyone)
– One private (known only to you)
– Common algorithms
– RSA
– Diffie-Hellman
– Asymmetric cryptography
ƒE(Plain, Keypublic) = Cipher
ƒD(Cipher, Keyprivate) = Plain
Keys are asymmetric
Relatively expensive to use
Security
Goals of security
– Confidentiality
– Message integrity
– Endpoint Authentication
ƒH(Message) = HashData
ƒH(Message1) ≠ ƒH(Message2)
→ Message1 ≠ Message2
Message
Digest
h
h
Private Key
Private Key
h
Public Key
?
h
Public Key
Security
Goals of security
–Confidentiality
–Message integrity
–Endpoint Authentication
Certificate Authority
Certificates
Issued by CA
–VeriSign
–Entrust
–CyberTrust
–etc
Contains
–Subject Name
–Issuer Name
–X.500 distinguished names
X.509
–Common certificate exchange
format
Security
Goals of security
– Confidentiality
– Message integrity
– Endpoint Authentication
Implement this design and you have SSL!!
Queue Queue
Manager Manager
No SSL
Queue Queue
Manager Manager
With SSL
Queue Queue
Manager Channel Manager
Queue Queue
Manager Channel Manager
MQ SSL Implementations
Windows SChannel
Unix ???
Channel Security
Key questions
Channel definitions
Obtaining certificates
Certificate Stores
Performance
References
MQ Security Manual
SSL and TLS – Eric Rescorta
Java Secure Socket Extension (JSSE) Reference Guide
Web sites
http://home.netscape.com/eng/ssl3/ssl-toc.html