SSL Certificates Support - CSR Generation Instructions- Apache mod_SSL - csr generation - VeriSign UK Ltd.
VeriSign, Inc.® United Kingdom Home | Worldwide Sites | Site Map
You Are Here: United Kingdom Home > Support > SSL Certificates Support > CSR Generation Instructions- Apache mod_SSL

SSL Certificates Support

CSR Generation Instructions- Apache mod_SSL

To generate a CSR, you will need to create a key pair for your server. These two items are a digital certificate key pair and cannot be separated. If you lose your public/private key file or your password and generate a new one, your SSL Certificate will no longer match. You will have to request a new SSL Certificate and may be charged.

VeriSign recommends that you contact the Apache mod_SSL vendor for additional information. 

Step 1: Generate a Key Pair

The utility "openssl" is used to generate the key and CSR. This utility comes with the OpenSSL package and is usually installed under /usr/local/ssl/bin. If you have installed them elsewhere you will need to adjust these instructions appropriately.

  1. Change directory to your SSL Key directory: cd /usr/local/ssl/private
  2. Generate a Private key using the following command:  
     
    openssl genrsa -des3 1024 > /<your-folder-name>/verisign.key 

Step 2: Generate a Certificate Signing Request

  1. Change directory to your SSL Certificate directory: cd /usr/local/ssl/crt
  2. Generate a CSR using the following command: 
     
    openssl req -new -key /<your-folder-name>/verisign.key > verisign.csr   
  3. You can also generate a self-signed certificate by using the following command: 
     
    openssl req -x509 -key /<your-folder-name>/verisign.key -in verisign.csr > verisign.crt 
  4. You have just created a key pair and a CSR.
  5. To copy and paste the information into the enrolment form, open the file in a text editor that does not add extra characters (Notepad or Vi are recommended).
  6. Go to Enrolment.

Terms Defined

Common Name

The Common Name is the Host + Domain Name. It looks like "www.company.co.uk" or "company.co.uk".

VeriSign certificates can only be used on Web servers using the Common Name specified during enrolment. For example, a certificate for the domain "domain.co.uk" will receive a warning if accessing a site named "www.domain.co.uk" or "secure.domain.co.uk", because "www.domain.co.uk" and "secure.domain.co.uk" are different from "domain.co.uk".

Organisation Information

  • If your company or department has an &, @, or any other symbol using the shift key in its name, you must spell out the symbol or omit it to enrol.
  • The “Org Unit” field is the name of the department or organisation unit making the request.
  • The Locality field is the city or town name, for example: Guildford.
  • Do not abbreviate the county name, for example: Surrey.
  • Use the two-letter code without punctuation for country, for example: GB.

Contact Information

During the verification process, VeriSign may need to contact your organisation. 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.


Contact VeriSign Legal Notices Privacy Repository © 2003 - 2008 VeriSign UK Limited. All rights reserved.
9/29/08 9:58 PM