Import certificate into the keystore, after it is signed by a Certificate Authority (CA).
Important
All CA certificates in the chain of trust, including intermediate certificates (import with aliases: root1, root2, and so on) must be imported into the keystore file that you used to generate the private key and certificate request.
Import CA certificate:
Run the following command:
keytool -import -alias root1 -file ca.cer -keystore newkeystoreNote
Make sure that the CA certificate is included in the file:
ca.cerType the keystore password:
changeit
Import the signed certificate:
Run the following command:
keytool-import -alias tomcat -file cert.cer -keystorenewkeystoreNote
Make sure that the CA certificate is included in the file:
cert.cerType the keystore password:
changeit
The keystore now contains the signed certificate and is ready for installation on the Database Security server.