Question: My SSL certificate company needs a CSR, how do I get a CSR?

Most SSL distributors will ask for a CSR when you try to purchase a certificate from them. Follow these instructions to generate a CSR for your domain.

1. SSH into your webserver with your login name and password. 2. Create a directory to store your certificate key, certificate CSR, and certificate.

mkdir certs ; cd certs

3. Type the following command to generate your RSA private key, please adjust the filename 'domainname.key' accordingly.

openssl genrsa -out domainname.key 2048

4. Type the following command to create a CSR with the RSA private key, adjusting the filenames for your domain name (output will be PEM format):

openssl req -new -sha256 -key domainname.key -out domainname.csr

5. When creating a CSR you must follow these conventions. Enter the information to be displayed in the certificate. The following characters can not be accepted: < > ~ ! @ # $ % ^ * / \ ( ) ?.,&

6. Do not enter extra attributes at the prompt.

Ssl/my-ssl-certificate-company-needs-a-csr-how-do-i-get-a-csr (last edited 2016-08-22 08:23:04 by mcdermd)