
When HTTPS is enabled, the communication between the client and the web server is encrypted.Īn SSL (Secure Socket Layer) certificate is used to verify the ownership of the web server the client is connecting to using the HTTPS protocol. HTTPS is just the secured version of the HTTP protocol. If you want that green lock to appear in the URL bar when someone visits your Java web application hosted on Tomcat web server, you have to enable HTTPS on Tomcat. It will even show you a red lock in the URL bar. These days, almost all the browsers will warn you when you try to visit HTTP links. The communication between the client and the web server is not encrypted when HTTP protocol is used. Your Java web application hosted on Tomcat server uses HTTP protocol by default. Tomcat is one of the most popular Java web server among them. There are many web servers for running Java web applications such as Glassfish, JBoss etc.

Tomcat is a project of Apache Foundation and it is completely open source. Tomcat is a web server that serves web applications written in Java.
