Source: https://www.sslshopper.com/article-most-common-openssl-commands.html
These commands allow you to generate CSRs, Certificates, Private Keys and do other miscellaneous tasks.
# Generate a new private key and Certificate Signing Request
openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key