Generate a keystore and import the SSL certificate into the keystore
You can use the keytool utility to generate a keystore for
your applications, and to import the SSL certificates of the
BlackBerry UEM
domain into the keystore. Your applications use
the certificates to make SSL connections to the BlackBerry Web
Services
SOAP APIs. Ensure that you include the entire
chain in the keystore. For example: root, intermediate, and the
key.- Run the command prompt as an administrator.
- Navigate to the bin folder of the active JRE. For example:cd C:\Program Files\Java\jre8\bin
- If you upgradedBES12version 12.3 toBES12version 12.5 orBlackBerry UEMversion 12.6 or later, and you previously downloaded and installed the SSL certificate into the keystore, you must delete the existing certificate before you perform this step.Typekeytool -import -trustcacerts -file, where<cert_file_path>-keystore<keystore_name>-storepass<password>-alias<cert_alias><cert_file_path>is the full path where you stored the SSL certificate,<keystore_name>is the name you want to specify for the keystore,<password>is the password you want to specify for the keystore, and<cert_alias>is an alias name you want to specify for the certificate. For example:keytool -import -trustcacerts -file C:\Temp\BWS\bescert.cer -keystore bes.keystore -storepass password -alias besRepeat this step for each certificate in the keychain as needed, and give each certificate a different alias.
- Press ENTER.
- When asked if you want to trust this certificate, typey. Press ENTER.A message confirms that the certificate was added to the keystore.