3.5 Import as Trusted Certificate

User can import the obtained certificates as trusted certificates using the command to obtain the identity store.

To import as trusted certificate, execute the comment given below:

keytool -import -v -trustcacerts -alias rootcacert -file <export_certificate_file_name_with_location.cer> -keystore <keystore_name.jks> > -keypass <Private key Password> -storepass <Store Password>

For example,

keytool -import -v -trustcacerts -alias rootcacert -file AdminOBREMOCert.cer -keystore AdminOBREMOKeyStore.jks -keypass Oracle123 -storepass Oracle123