ssl implementation guide onno w. purbo [email protected]

24
SSL Implementation Guide Onno W. Purbo [email protected]

Upload: macy-linsey

Post on 14-Dec-2015

231 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

SSL Implementation Guide

Onno W. [email protected]

Page 2: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Reference http://www.verisign.com http://www.openssl.org

Page 3: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Implementation Steps Obtain and install a server Digital ID

from VeriSign. Defines your Access Control List (ACL). Set server options to restrict access to

clients presenting certificates. Set options to enable SSL on your

server for secure, authenticated transactions.

Read certificate information to provide customized services (optional).

Page 4: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Port HTTP = 80 HTTP + SSL = 443

Page 5: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Cryptography Algorithm SYMMETRIC CIPHERS

blowfish, cast, des, idea, rc2, rc4, rc5 Public Key Cryptography & Key Agreement

dsa, dh, rsa Certificates

x509, x509v3 Authentication Codes, Hash Functions

hmac, md2, md4, md5, mdc2, ripemd, sha Input/Output, Data Encoding

asn1, bio, evp, pem, pkcs7, pkcs12

Page 6: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

SSL Process establish private communications perform client authentication

Page 7: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id
Page 8: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

If insecure ..

Page 9: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id
Page 10: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

If secure ..

Page 11: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id
Page 12: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Client Hello

Page 13: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Server Hello

Page 14: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Client Master Key

Page 15: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Client Finish

Page 16: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Server Verify

Page 17: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Request Client Certificate

Page 18: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Client Certificate If client does not have certificate

Error Message If not ….

Page 19: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Client Certificate

Page 20: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Server verifies Client Authenticity Check it to root CA Check by rehashing the

certificate ..

Page 21: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Server verifies Client

Page 22: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Server Finish

Page 23: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Enabling SSL at Server Generate your server's key pair

(public and private keys) using your server's built-in software

Request a certificate from VeriSign Install the certificate VeriSign

sends you Activate SSL for your server

Page 24: SSL Implementation Guide Onno W. Purbo Onno@indo.net.id

Request Secure Server Cert Create a Certificate Signing Request (CSR)

from the server. This process is detailed in the server documentation.

Complete the online enrollment form at VeriSign's Digital ID center at http://digitalid.verisign.com.

If your organization is new, mail or fax your company's articles of incorporation or other proof-of-right documents to VeriSign at 650.961.8870. These documents are used to verify your company's authenticity if you are not listed with Dun and Bradstreet.