This document provides instructions for generating CSR for Covalent Apache ERS v 3.0 and above. If you are unable to use these instructions for your server, Symantec recommends that you contact Covalent.
NOTE: To generate a CSR, a key pair must be created for the server. These two items are a digital certificate key pair and cannot be separated. If the public/private key file or password is lost or changed before the SSL certificate is installed, the SSL certificate will need to be re-issued. The private key, CSR, and certificate must all match in order for the installation to be successful.
Step 1: Generate Private Key
NOTE: All certificates that will expire after October 2013 must have a 2048 bit key size.
Use the utility “openssl” to generate the key and CSR. This utility comes with the OpenSSL package.
You usually install it under /usr/local/ssl/bin. If it is installed elsewhere, adjust the directory used in these instructions.
- Change directory to your SSL Key directory: cd /usr/local/ssl/private
- Generate a Private key using the following command:
openssl genrsa -des3 2048 > privatekeyfilename.key
- When prompted for a pass phrase: enter a secure password and remember it, as this pass phrase is what protects the private key.
Both the private key and the certificate are required to enable SSL.
NOTE: To bypass the pass phrase requirement, omit the -des3 option when generating the private key. If the private key is left
unprotected, Symantec recommends access to the server be restricted so that only authorized server administrators can
access or read the private key file.
Step 2: Generate a CSR:
- Change directory to your SSL Certificate directory: cd /usr/local/ssl/crt
- Generate a CSR using the following command:
openssl req -new -key ../private/ privatekeyfilename.key > csrfilename.csr
NOTE: This step will create the X.509 attributes of the certificate:
- Country Name (C): Use the two-letter code without punctuation for country, for example: US or CA.
- State or Province (S): Spell out the state completely; do not abbreviate the state or province name, for example: California
- Locality or City (L): The Locality field is the city or town name, for example: Berkeley. Do not abbreviate. For example: Mountain View and not Mt. View.
- Organization (O): 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 enroll.
- Organizational Unit (OU): The Organizational Unit (OU) field is the name of the department or organization unit making the request.
- Common Name (CN): The Common Name is the Host + Domain Name. It looks like "www.symantec.com" or "symantec.com".
NOTE: Symantec certificates can only be used on Web servers using the Common Name specified during enrollment.
For example, a certificate for the domain "symantec.com" will receive a warning if accessing a site named "www.symantec.com"
or "secure.symantec.com", because "www.symantec.com" and "secure.symantec.com" are different from "symantec.com".
NOTE: Please do not enter your email address, challenge password or an optional company name when generating the CSR.
- A public/private key pair has now been created. The private key (www.symantec.com.key) is stored locally on the server machine and is
used for decryption. The public portion, in the form of a Certificate Signing Request (certrequest.csr), will be for certificate enrollment.
- To copy and paste the information into the enrollment form, open the file in a text editor such as Notepad or Vi and save it as a .txt file.
Do not use Microsoft Word as it may insert extra hidden characters that will alter the contents of the CSR.
- Verify your CSR.
- Once the CSR has been created, proceed to Enrollment.
During the verification process, Symantec may need to contact your 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.
Once the certificate has been issued, follow the steps from this link to install the certificate on your server: INFO252