Creating the Keystore

FlexNet Code Insight 6.14.0

Use this procedure to create the keystore into which you will import the certificate.

To create the keystore into which you will import the SSL certificate, do the following:

1. From DOS or Linux, enter the following command:

keytool -genkey -alias myKey -keyalg RSA -sigalg SHA256withRSA -validity 3600 -keysize 2048 -keystore myKeystore.jks 

Provide the following information in the command:

myKey—The alias that you want to create for the private key (the certificate entry) that will be included in the keystore.
myKeystore—The file name for the keystore you are creating. Use the .jks extension.
2. When prompted, enter a password for the keystore.

When prompted with “What is your first and last name?”, enter the fully qualified hostname for the server, such as myserver.mycompany.com.

3. When prompted for the key password, simply press Enter to use the same password as the keystore password.