Enabling HTTPS
Learn how to add an extra layer of security and encryption using HTTPS.
We'll cover the following...
In this lesson, we’ll learn how to enable users to connect to the application via HTTPS, adding an extra layer of security and encryption.
HTTPS protocol
Any user-facing application nowadays should not only be allowing but also forcing its users to connect over HTTPS. This is a layer of security added on top of HTTP, making sure all connections are encrypted via a trusted certificate. Once again, we won’t try to come up with a definition, instead using the following one from MDN:
“HTTPS (HyperText Transfer Protocol Secure) is an encrypted version of the HTTP protocol. It uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, such as when performing banking activities or online shopping.”
By enabling HTTPS connections in our application, we’re making sure that it’s way ...