Enabling HTTPS
Explore how to enable HTTPS in a Deno web application to secure user communications. Understand configuring Oak middleware to support secure connections using SSL/TLS certificates. This lesson guides you through implementing HTTPS, handling certificates, and managing server logs to enhance application security.
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 ...