Step 1: Generate Private Key
 
The OpenSSL package is usually installed under /usr/local/ssl/bin.
If the utility was installed elsewhere, these instructions will need to be adjusted accordingly.
 
Type the following command at the prompt:
 
openssl genrsa -des3 -out <private key file name>.key 2048




NOTE
  • All certificates need a 2048 bit key size!
  • If using Apache on Windows or generating a private key for use with Amazon Web Service, Plesk or cPanel please do not include -des3 as this option is not supported.
  • To bypass the pass phrase requirement, omit the -des3 option when generating the private key. If the private key is left unprotected, we recommend access to the server be restricted so that only authorized server administrators can access or read the private key file.
 
 
Step 2: Certificate Signing Request (CSR)
 
Type the following command at the prompt:
 
openssl req -new -key <private key file name>.key -out <csr file name>.csr 





NOTE: If using openSSL on Windows, the path to openssl.cnf may need to be specified, such as the following:

openssl req -new -key <private key file name>.key -config "c:\Apache Software Foundation\Apache2.2\conf\openssl.cnf" -out <csr file name>.csr 
 
This command will prompt for the following X.509 attributes of the certificate:





Country Name: Use the two-letter code without punctuation for country, for example: US or CA.
 
State or Province: Spell out the state completely; do not abbreviate the state or province name.  For example: California, not CA
 
Locality or City: The Locality field is the city or town where the organization is headquartered spelled in full. For example: Mountain View, not Mt. View
 
Company: If the company or department has an &, @, or any other symbol using the shift key in its name, the symbol must be spelled out or omitted, in order to enroll. Example: XY & Z Corporation would be XYZ Corporation or XY and Z Corporation.
 
Organizational Unit: This field is optional; but can be used to help identify certificates registered to an organization. The Organizational Unit (OU) field is the name of the department or organization unit making the request. To skip the OU field, press Enter on the keyboard.
 
Common Name: The Common Name is the Host + Domain Name. It looks like "www.company.com" or "company.com".  RapidSSL certificates issued to the www subdomain will also include the base domain as a Subject Alternative Name.
 
NOTE: Please do not enter an email address, challenge password or an optional company name when generating the CSR
 
Once the CSR has been created proceed to enroll for the certificate.  When prompted for the CSR, please open the file with a plain-text editor (Notepad, Vi) and copy/paste the full text of the CSR into the order form.
 
Step 3: Backup the private key
 
RapidSSL recommends backing up the .key file and storing of the corresponding pass phrase. A good choice is to create a copy of this file onto a diskette or other removable media. While backing up the private key is not required, having one will be helpful in the instance of server failure.
 
Contact Information
During the verification process, the Certification Authority may need to contact the organization. Be sure to provide an email address, phone number, and fax number that will be checked and responded to quickly. These fields are not part of the certificate.



Found this article interesting?
Subscribe to DomainRegister´s newsletter!

You can unsubscribe at any time by simply clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp s privacy practices here.

  • CSR, SSL, RapidSSL
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

 What is the difference between SHA-1 and SHA-2 ?

SHA stands for Signature Hashing Algorithm;  It's a mathematical hash that proves the...

 What is an intermediate certificate and how to get it?

An intermediate certificate is a file needed by the web browser to identify the C.A. who issued...

 How can I install my SSL certificate on more than one server?

Many SSL certificate licences allow to install the same certificate on an unlimited number of...

 How To Fix The Warning : "Site Contains Secure & Non-Secure Items"

A SSL certificate provides cover for all your website files and folders, which are included in...

 I have accidentally deleted my "private key": what can I do now?

First check your backups and see if you can re-install the "private key". If you don't know how...