Add a certificate for the BlackBerry MDS Connection Service

To permit server-side push applications to open trusted HTTPS connections to a BlackBerry MDS Connection Service and push application data and application updates to BlackBerry devices, you must add a certificate for the BlackBerry MDS Connection Service to the webserver.keystore file.
  1. On the computer that hosts the BlackBerry MDS Connection Service, navigate to <drive>:\Program Files\Java\<JRE_version>\bin.
  2. At the command prompt, perform one of the following tasks:
    Task Steps
    Create a self-signed certificate for the BlackBerry MDS Connection Service and add it to the key store.
    1. Type keytool -genkey -alias tomcat -keyalg RSA -keystore webserver.keystore.
    2. Type the required information.
    3. To confirm the information that you typed, type Yes.
    Add a publicly signed certificate to the key store.
    1. Type keytool -import -trustcacerts -alias tomcat -file <trustedserver.cer> -keystore webserver.keystore.
    2. Type the key store password.
    3. When prompted, click Yes.
  3. Copy the key store file to <drive>:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\webserver.
After you finish: Export the certificate for the BlackBerry MDS Connection Service to make it available to other applications.