Create your CA Private Key for OpenSSL
I needed to create a private key using OpenSSL.
It didn't take me long to find the necessary commands.
Note: I will assume that you have installed OpenSSL into the C:\OpenSSL folder.
Change into the C:\OpenSSL\share folder.
Type:
..\bin\openssl genrsa -des3 -out cakey.pem 2048
The above command will create your CA's private key. Now you will need to generate a Public certificate for your certificate authority (CA). During this process you will be prompted to enter a few details about your CA.
Type:
openssl req -new -key cakey.pem -x509 -days 1825 -extensions v3_ca -out capub.crt