September 2018
Intermediate to advanced
480 pages
9h 45m
English
To encrypt our communication, we will use SSL here. To do that, we first need to generate an SSL certificate. We can generate a custom SSL certificate using the following command:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes req -x509 → requests from openssl to generate X.509 certificate -newkey rsa:4096 → generate new keys with size 4096 using RSA -keyout key.pem → saves the keys in key.pem file -out cert.pem → saves the certificate in cert.pem file -days 365 → certificate valid for 365 days

The nodes command is not nodes; it's no DES. This refers to the fact ...