Recently, the use of the HTTPS protocol for your Web resources is a mandatory requirement for all relatively large Web projects. This technology is based on so called
certificates. Previously, you had to pay to get a certificate for your Web server. But now we have services like
Let's Encrypt where you can get your certificate for free. This is why the price is no longer a reason not to use HTTPS.
In the simplest case, a certificate allows you to establish protected connection between client and server. But this is not all it is capable of. For example, I saw an online course on
Pluralsight called
Microservices Security. And there was one thing mentioned there, which is called
Mutual Transport Layer Security. It not only allows client to make sure that it is interacting with the correct server, but also allows the server to authenticate the client.
This is why developers must know how to work with certificates. And it is for this reason that I decided to write this article. I want it to be a place where one can find basic knowledge about certificates. I don't think that experts can find something interesting here, but I hope that it will be useful for beginners and those who want to refresh their knowledge.