|
Parameter
|
Description
|
|---|---|
|
genkeypair
|
This parameter specifies to generate a new key pair.
|
|
alias
|
This parameter specifies a name to associate with the new key entry in the keystore.
|
|
storetype
|
This parameter specifies the format of the keystore. An example of the keystore type is PKCS12.
|
|
keystore
|
This parameter specifies the pathname to the keystore.
|
|
keyalg
|
This parameter specifies the algorithm to be used to generate the key pair. For example, RSA.
|
|
|
At command run, you are prompted to specify additional information, such as, keystore and the certificate passwords. For more information on the additional information , see the keytool documentation https://docs.oracle.com/en/java/javase/21/docs/specs/man/keytool.html.
|
|
Parameter
|
Description
|
|---|---|
|
certreq
|
This parameter specifies the process to generate a CSR
|
|
alias
|
This parameter specifies the name of an existing entry in the store that is used to create a CSR. This name is the name specified in the previous step.
|
|
file
|
This parameter specifies the path of the file where CSR resides.
|
|
|
• The command prompts for a keystore password. If the jssecacerts keystore does not exist, any password may be entered as the initial password.
• If the Certification Authority (CA) has updated its own Root CA certificate or Intermediate CA certificates, they must be added to the jssecacerts keystore. All the relevant CA certificates must be present in the jssecacerts keystore.
|