Generating public-private key pairs

A cryptographic key pair is a set of two cryptographic keys (one public and one private) that is used to start an SSL session.

Before requesting a certificate from the CA, you must use this procedure to generate a cryptographic key pair and assign that key pair to the new certificate.

keytool -genkey -alias CEDN -keyalg RSA -keystore ctmkey.jks -keysize (number of bits for example, 1024)

Parent Topic

Setting up a signed certificate for a Java keystore