SSL

Secure Sockets Layer (SSL) is a security protocol in which data is encrypted and sent to a trusted party via a certificate. In this part, I will show you the different ways to create a secured connection with Spring Boot. The completion of these steps is not mandatory to start the next chapter. They are included for completeness, so feel free to skip them if you are in a hurry to deploy your application to the cloud.

In Chapter 8, Deploying Your Web Application to the Cloud, we will see that most cloud platforms already handle SSL so we don't have to configure it at our end.

Generating a self-signed certificate

Normally, X.509 certificates are delivered by a Certificate Authority. They generally bill you for the service, so for testing purposes, ...

Get Spring MVC: Designing Real-World Web Applications 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.