This article describes how to generate a new SHA-2 SSL certificate CSR. SHA256 (SHA2) is a hashing algorithm used to generate SSLs. SHA2 is the latest standard for SSL certificate security.

Generate a 2048-bit private key

openssl genrsa -out your-domain.key 2048

Generate a SHA256 ssl certificate signing request (CSR)

openssl req -new -sha256 -key your-domain.key -out your-domain.csr

The CSR can now be used to purchase an SSL certificate.