Before starting you'll need to install OpenSSL
.
-
Generate an RSA key (or use an existing one):
openssl genrsa -out keyname.key 2048
-
Create a certificate signing request (skip all question fields but
Country Name
,Common Name
andEmail Address
).