Step 1:generate Private Key
Note: All certificates that would expire after October must has a 2048 bit key size.
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 The utility was installed elsewhere, these instructions would need to be adjusted accordingly.
-
Type The following command at the prompt:
openssl Genrsa-des3- Span style= "Font-weight:bold" >out <private key file Name>.key 2048
for Example:
This Command generates a 2048 bit RSA private key and stores it in the file Www.mydomain.com.key.
When prompted-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 is 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 a left unprotected, Symantec recommends access to the server being restricted so and only
Authorized server administrators can access or read the private key file.
Step 2:generate the CSR
Type the following command at the prompt:
OpenSSL req-new-key <private key file name>.key-out <csr file NAME>.CSR
For example:
Note: If using OpenSSL on Windows, need to specify the path to openssl.cnf 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 would prompt for the following 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 of the state completely; Do is abbreviate the state or province name, for Example:california
Locality or city: The Locality field is the city or town name, for Example:berkeley. Do not abbreviate. For Example:saint Louis, not St. Louis
Company : If the company or department have an &, @, or any other symbol using the SHIFT key in its name, the symbol must is Spel Led out or omitted with order to enroll. Example:xy & Z Corporation would be XYZ Corporation or XY and Z Corporation.
Organizational Unit: 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".
Symantec certificates can is used on WEB servers using the Common Name specified during enrollment. For example,
A certificate for the domain "domain.com" would receive a warning if accessing a site named "Www.domain.co M "or
" secure.domain.com ", because" www.domain.com "and" secure.domain.com "is different from" domain.com ".
Note: please don't enter an email address, challenge Password or a optional company name WH En generating the CSR .
A public/private Key pair have now been created. The private key (Www.domain.com.key) is stored locally on the
Server machine and are used for decryption. The public portion, in the form of a Certificate Signing Request (CERTREQUEST.CSR), would be is 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. Don't use Microsoft Word as it may insert extra hidden characters, that'll alter the contents of the CSR.
Verify your CSR
Once The CSR has been created, proceed to enrollment.
Step 3:backup the private key
Symantec recommends backing up the. key file and storing of the corresponding pass phrase.
A good choice is to create a copy of the this file onto a diskette or other removable media.
While backing up the private key was not required, have one would be helpful in the instance of the server failure.
Contact information
During the verification process, Symantec may need to contact your organization. Be sure to provide an email address,
Phone number, and fax number that is checked and responded to quickly. These fields is not part of the of the certificate.
Generate a CSR file