ssl https server

22
Secure Socket Layer (SSL) and Apache Tomcat (Web/Application Server) 2008/July/17 Multimedia Division

Upload: ram-srivastava

Post on 15-Jul-2015

1.089 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Ssl Https Server

Secure Socket Layer (SSL) and Apache Tomcat (Web/Application Server)

2008/July/17Multimedia Division

Page 2: Ssl Https Server

2Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

Agenda

• What is SSL– Secure Socket Layer (SSL)– The SSL Protocol

• Why SSL• What SSL Provides• SSL and Authentication• SSL and Web-tier Security• What is a Certificate?• What is Server Certificate?• Why Server Certificate is Needed?• Verify/Demo SSL Support on Test server • Commercial for Certificate • SSL Drawbacks• What is next• References

Page 3: Ssl Https Server

3Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

What is SSL

• SSL stands for Secure Socket Layer.• Secure Socket Layer (SSL) technology

allows web browsers and web servers to communicate over a secure connection

Page 4: Ssl Https Server

4Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

Secure Socket Layer (SSL)

• Originally developed by Netscape, SSL has been universally accepted on the World Wide Web for authenticated and encrypted communication between clients and servers.

• Responsible for the emergence of e-commerce, other security sensitive

services on the web

Page 5: Ssl Https Server

5Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

The SSL Protocol

• The SSL protocol runs above TCP/IP and below higher-level protocols such as HTTP or IMAP

Page 6: Ssl Https Server

6Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

Why SSL

SSL addresses the following important security considerations. • Authentication: During initial attempt to communicate with a

web server over a secure connection, that server will present your web browser with a set of credentials in the form of a server certificate. The purpose of the certificate is to verify that the site is who and what it claims to be.

• Confidentiality: When data is being passed between the client and the server on a network, third parties can view and intercept this data. SSL responses are encrypted so that the data cannot be deciphered by the third party and the data remains confidential.

• Integrity: When data is being passed between the client and the server on a network, third parties can view and intercept this data. SSL helps guarantee that the data will not be modified in transit by that third party.

Page 7: Ssl Https Server

7Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

What SSL Provides

• Confidentiality (Privacy)• Data integrity (Tamper-proofing)• Server authentication (Proving a server is

what it claims it is)• Optional client authentication - Would be

required in B2B/B2C (or Web services environment in which program talks to program

Page 8: Ssl Https Server

8Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

SSL and Authentication

• Server Authentication: Server needs to provide its own certificate to a client in order to authenticate itself to the client. A Web server typically has a CA-signed

certificate and it provides to its clients.• Client Authentication: Client needs to provide its own certificate to a server in order to authenticate itself to the

server.• Mutual Authentication

Page 9: Ssl Https Server

9Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

SSL and Web-tier Security

• Encrypted password move from the browser to the web server• Encrypted data move between the browser and the web server• Server authentication – Done before encrypted data transfer occurs• Client Authentication – Not used in most cases

Page 10: Ssl Https Server

10Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

What is a Certificate?

• A certificate is a digitally-signed statement from one entity (person, company,

etc.), saying that the public key (and some other information) of some other

entity has a particular value. So in a sense, it is like digital version of your ID

card such as driver's license.

Page 11: Ssl Https Server

11Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

What is a Certificate (Ctd..)

• A certificate is cryptographically signed and is practically impossible for anyone else to forge

• A certificate can be purchased from (signed by) a well-known CA (Certificate Authority) like Verisign

Page 12: Ssl Https Server

12Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

What is a Certificate (Ctd..)

• A certificate can be self-signed when authentication over the internet is not really a

concern for example, an administrator may simply want to ensure that data being transmitted and received by the server is private and cannot be snooped by anyone eavesdropping on the connection, that is only data privacy and integrity are important

Page 13: Ssl Https Server

13Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

What is Server Certificate?

• A server certificate is a container that contains server's public key and other miscellaneous information

• Web server must have an associated certificate for each external interface, or IP address, that accepts secure connections. This provides some kind of reasonable assurance that its owner is who you think it is

Page 14: Ssl Https Server

14Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

Why Server Certificate is Needed?

• Server Certificate enables Server Authentication

• Server sends server certificate as part of SSL key handshake

• HTTPS service of Tomcat would not work unless a server certificate is installed

• Verifies the server's identity to the client, before receiving any sensitive information

Page 15: Ssl Https Server

15Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

Verify/Demo SSL Support on Test server

• Screen Display

Page 16: Ssl Https Server

16Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

Verify/Demo SSL Support on Test server

• Screen Display

Page 17: Ssl Https Server

17Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

Verify/Demo SSL Support on Test server

• Screen Display of Certificate

Page 18: Ssl Https Server

18Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

Verify/Demo SSL Support on Test server

• Screen Display of Certificate

Page 19: Ssl Https Server

19Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

Budget Required (Tentative figure by Vendors)

Commercial for Certificate

http://www.verisign.com/ssl/buy-ssl-certificates/secure-site-services/index.html

$ 1499/Year Verisign 1

Remarks Budget Required Name of the Vendors

Sr. No.

Page 20: Ssl Https Server

20Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

SSL Drawbacks

The problems associated with SSL are • It prevents caching. • Using SSL imposes greater overheads on the

server and the client. • Some firewalls and/or web proxies may not allow

SSL traffic. • There is a financial cost associated with gaining

a Certificate for the server/subject device

Page 21: Ssl Https Server

21Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

What is next

• Sign a CR • Send to YMC as a sample • Make Skill Matrix • Make Training Schedule

Page 22: Ssl Https Server

22Copyright© YAMAHA MOTOR SOLUTIONS INDIA PVT.LTD.

References:

• http://java.sun.com/developer/technicalArticles/Security/secureinternet/• http://cstsolaris.cst.nait.ab.ca/resources/ssl/ index.html• http://www.javapassion.com/j2ee/index.html• http://www.rhyshaden.com/ssl.htm

• http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html