HTTPS Generating Private Key and CSR For RapidSSL

December 3rd, 2007 by pyrat
  • Generate a private key

openssl genrsa -out domainname.key 1024

  • Generate a certificate signing request

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

When it asks for common name enter the fully qualified domain name. eg. www.racentries.com

2 Responses to “HTTPS Generating Private Key and CSR For RapidSSL”

  1. Alastair Brunton Says:

    Remember to use GB for country code if UK. http://www.digicert.com/ssl-certificate-country-codes.htm for a full list.

  2. Alastair Brunton Says:

    RapidSSL now use 2048 bits as a minimum, so the private key generation command should now be:

    openssl genrsa -out domainname.key 2048

Leave a Reply