Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Generating a Private Key and a Keystore"

(New page: TODO:)
 
Line 1: Line 1:
TODO:
+
1. To generate a keystore, you need a JDK installed with its /bin directory in your path
 +
 
 +
2. Create a keystore using this command:
 +
 
 +
  keytool -genkey -alias tomcat -keyalg RSA -keystore keystore.jks
 +
 
 +
keytool will ask you to enter the values for Common Name (CN), Organizational Unit (OU), Oranization(O), Locality (L), State (S) and Country (C). CN should match the domain name of your webapp if you are planning to use this keystore for your servlet container
 +
 
 +
You can verify keystore contents using this command:
 +
 
 +
  keytool -list -v -keystore keystore.jks
 +
3.

Revision as of 10:56, 21 November 2007

1. To generate a keystore, you need a JDK installed with its /bin directory in your path

2. Create a keystore using this command:

 keytool -genkey -alias tomcat -keyalg RSA -keystore keystore.jks

keytool will ask you to enter the values for Common Name (CN), Organizational Unit (OU), Oranization(O), Locality (L), State (S) and Country (C). CN should match the domain name of your webapp if you are planning to use this keystore for your servlet container

You can verify keystore contents using this command:

 keytool -list -v -keystore keystore.jks

3.

Back to the top