Ask a Question

Advanced Search

Alert ID : INFO804

Last Modified : 04/23/2019

Managed PKI for SSL - Certificate Signing Request (CSR) Generation Instructions for Stronghold Server


This document provides instructions for generating a Certificate Signing Request (CSR) for Stronghold.  If you are not able to use these instructions for your server, Symantec recommends you to contact the server vendor or the organization, which supports Stronghold.

NOTE: 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.

Stronghold keys and certificates are managed through three scripts: genkey, getca and genreq. These are part of the normal Stronghold distribution. Keys and certificates are stored in the directory$SSLTOP/private/, where SSLTOP is typically /usr/local/ssl.

To generate a key pair and CSR, perform following steps:

NOTE: All certificates that will expire after October 2013 must have a 2048 bit key size.

  1. Run genkey, specifying the name of the host or virtual host: genkey hostname.
  2. The genkey script displays the filenames and locations of the key file and CSR file it will generate:  
    Key file: /usr/local/www/sslhostname.key  
    CSR file: /usr/local/www/sslhostname.cert 

    NOTE: If you already have a key for your server, run genreq [servername] to generate only the CSR.
  3. Press Enter. The genkey script reminds you to be sure you are not overwriting an existing key pair and certificate.
  4. When prompted, enter a key size in bits, which must be at least 2048 bits.
  5. When prompted, enter random key strokes. Stop when the counter reaches zero and genkey beeps. This random data to create a unique public and private key pair.
  6. When prompted, enter y to create the key pair and CSR.
  7. Select Symantec as your CA.
  8. Enter all of the information requested:
    • Common Name: The fully-qualified domain name to which your certificate will be issued.
    • Organization: The full legal name of your company.
    • Organizational Unit: Use this field to differentiate between divisions within an organization.
    • City or Locality: Usually the city of your organization's main office, or a main office for your organization.
    • State or Province: Enter the full name of your state or province. 
      Note: Make sure the State or Province is not abbreviated (e.g. California).
    • Country: Enter the two-character abbreviation of country in which organization resides (e.g. US).
  9. Press Enter.
  10. Back up your key file and CSR on a removable media and store it in a secure location. If you lose your private key or forget the password, you will not be able to install your SSL Certificate and will need to request and purchase a new one from Symantec.
  11. You have just created a key pair and a CSR. To copy and paste the information into the enrollment form, open the file in a text editor that does not add extra characters (Notepad or Vi are recommended).
  12. Verify your CSR
  13. Go to Enrollment.

Once the SSL certificate has been issued, follow the steps from this link to install it on the server:  INFO255