Signing Public Certificates using OpenSSL
Creating a Private Key and Certificate Signing Request (CSR)
Use the following OpenSSL command to generate a Private Key and a Certificate Signing Request for signing a public certificate against a public Certificate Authority
openssl req -newkey rsa:2048 -keyout login-hpnlab-net.key -out login-hpnlab-net.csr
Let's break down what this command is doing.
* The green text options tell OpenSSL that we're requesting something
* The yellow text options tell OpenSSL to create a private key
* The red text options tell OpenSSL to create a Certificate Signing Request