Openssl command tools: how to create a self-signed certificate?

This short video shows how to create a self-signed certificate using the openssl command tools. For more information on openssl see http://openssl.org.

Summary:
create a Certificate Signing Request (CSR) with the command:
openssl req -new -newkey rsa:2048 -nodes -keyout localhost.key -out localhost.csr

self-sign the Certificate with the command:
openssl x509 -req -days 365 -in localhost.csr -signkey localhost.key -out localhost.crt

For more tutorials, see https://brightminded.com/updates/