Import the BlackBerry MDS Connection Service to the keystore of a push application

To permit a server-side push application to open trusted connections to the BlackBerry MDS Connection Service, you must add the certificate for the BlackBerry MDS Connection Service to the keystore of the push application.
  1. On the computer that hosts the BlackBerry MDS Connection Service, in the command prompt, navigate to <drive>:\Program Files (x86)\Java\<JRE_version>\bin.
  2. Type keytool -import -trustcacerts -alias <alias> -file <server.cer> -keystore <application_keystore>.
  3. Type the keystore password.
  4. To add the certificate to the keystore, at the prompt, type Yes.
After you finish: If the certificate does not exist, import the certificate to <drive>:\Program Files (x86)\Java\<JRE version>\lib\security\cacerts.