SSL configuration on Tomcat 7

Secure Socket Layer (SSL) is another way of securing data communication. It is a cryptographic protocol, in which data travels through a secure channel. The server sends a secure key to the client browser, the client browser decrypts it and a handshake takes place between the server and the client or we can say it's a two-way handshake over the secure layer.

When is SSL required for Tomcat?

SSL will be more efficient if you are using Tomcat as a frontend server. In case you are using Apache or IIS, then it's recommended to install SSL on Apache or the IIS server.

Types of SSL certificates

Before we go ahead and install SSL, let's discuss the two types of SSL certificates, which are explained as follows:

  • Self-signed ...

Get Apache Tomcat 7 Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.