HTTPS with Let’s Encrypt
First of all, let’s start by explaining what TLS is. TLS is a protocol to ensure that our client and server communication is encrypted and secure. It is the successor of Secure Sockets Layer (SSL) and uses certificate-based encryption to ensure that the server you are talking to is the one you think it is. When we have HTTP over TLS, we name it HTTPS, which is the most common way to access web pages nowadays.
We mentioned certificate-based encryption. What does it mean? It means that the server has a certificate signed by a certificate authority, which ensures that the server is the one it says it is. This is very important because if you don’t have this, you could be talking to a server that is not the one you think it is, which can lead to many security issues. Certificate authorities (also known as CAs) are officially recognized as trustworthy entities, and most browsers trust them when evaluating certificate emissions.
Once...