September 2017
Intermediate to advanced
450 pages
11h 24m
English
The most important thing that you can do to help secure your Express web application for users is to encrypt content between your user's browser and your web server. Generating an SSL certificate to enable secure HTTPS communications between your Express web server and frontend application can be easy, but the nature generating and utilizing SSL certificates can be quite complicated.
For the sake of simplicity, we will generate a simple, unprotected, generic SSL certificate using openssl to help explain how to configure a SSL certificate in Express:
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -nodes
When you have correctly run the openssl certificate generator, you will have /key.pem and /cert.pem files ...
Read now
Unlock full access