Solution ID : SO832
Watch Thawte's Tutorial Videos for a more visual experience!
Note: If you are unable to view the video, please click here to go directly to the video source.
Step 1: Generate a Keystore and a Keyentry (Private Key):
Create a certificate keystore and private key by executing the following command:
Enter and re-enter a keystore password. Java servers use a default password of changeit. Hit Enter if you want to keep the default
password. If you use a different password, you will need to specify a custom password in the server.xml configuration file.
This command will prompt for the following X.509 attributes of the certificate:
First and last name (Common Name (CN)): Enter the domain of your website (i.e. www.myside.org) in the "first- and lastname" field.. It looks like "www.company.com" or "company.com".
Organizational Unit (OU): 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.
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. Example: XY & Z Corporation would be XYZ Corporation.
Locality or City (L): The Locality field is the city or town name, for example: Mountain View.
State or Province (S): Spell out the state completely; do not abbreviate the state or province name, for example: California
Country Name (C): Use the two-letter code without punctuation for country, for example: US or CA
Note: Thawte certificates can only be used on Web servers using the Common Name specified during enrollment. For example, a certificate for the domain "domain.com" will receive a warning if accessing a site named www.domain.com or "secure.domain.com", because "www.domain.com" and "secure.domain.com" are different from "domain.com".
When prompted for the password for the private key alias, press Enter. This will set the private key password to the same password used for the keystore from the previous step.
Note: Make note of the private key and the keystore password. If lost they cannot be retrieved.
Step 2: Backup Keystore file:
Step 3: Generate a CSR off the Keyentry: