Enabling Secure Socket Layer

So far, we have used the Hyper Text Transfer Protocol (HTTP). HTTP transfers data in plain text, but data transfer over the internet in plain text is not a good idea at all. It makes hacker's jobs easy and allows them to get your private information, such as your user ID, passwords, and credit card details easily using a packet sniffer.

We definitely don't want to compromise user data, so we will provide the most secure way to access our web application. Therefore, we need to encrypt the information that is exchanged between the end user and our application. We'll use Secure Socket Layer (SSL) or Transport Security Layer (TSL) to encrypt the data.

SSL is a protocol designed to provide security (encryption) for ...

Get Mastering Microservices with Java 9 - Second Edition 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.