Configuring a BlackBerry MDS Connection Service to trust web servers
You can configure the BlackBerry® MDS Connection Service to permit BlackBerry devices to pull application data and updates from trusted or untrusted web servers. If you want to open trusted connections between web servers and the BlackBerry MDS Connection Service, you must import the certificate for the web server into the JRE™ certificates keystore file (JRE cacerts).
The BlackBerry MDS Connection Service supports LDAP, OCSP, and CRL to retrieve certificates and certificate status, and HTTPS and SSL/TLS for connections that use trusted certificates.
Specify whether the BlackBerry MDS Connection Service requires trusted HTTPS connections from web servers
Specify whether the BlackBerry MDS Connection Service requires trusted TLS connections from web servers
- In the BlackBerry® Administration Service, on the Servers and components menu, expand BlackBerry Solution topology > BlackBerry Domain > Component view.
- Click MDS Connection Service.
- Click Edit component.
- On the TLS tab, in the Name field, type the name of a web server.
- In the Service URL field, type the regular expression for the web address of the web server.
- In the Settings section, in the Allow untrusted servers drop-down list, perform one of the following actions:
- Click the Add icon.
- Repeat steps 4 to 7 for each web server that you want to specify.
- Click Save all.
Configuring certificate server information for the BlackBerry MDS Connection Service
The BlackBerry® MDS Connection Service self-signed certificate permits push applications to make HTTPS connection to the BlackBerry MDS Connection Service. You can configure the BlackBerry MDS Connection Service to search for and retrieve certificates and the status of the certificates that external web servers use for HTTPS connections.
You can configure and manage the order of multiple LDAP, OCSP, and CRL servers for the BlackBerry MDS Connection Service. If a BlackBerry device requests certificate information from a server, the certificate information for all of the servers that you configure is combined in the result. For example, if you search for a LDAP server certificate, all of the server certificate information is displayed in the same order that the LDAP server appears in the list of servers. If you search for an OCSP or CRL server certificate, the order of the servers does not matter, because each server creates a prioritized list automatically.
For more information about certificates, see the BlackBerry Enterprise Solution Security Technical Overview.
Configure the LDAP servers that the BlackBerry MDS Connection Service uses to retrieve certificates for web servers
If you change the LDAP port number or host server information, you must stop and restart the BlackBerry MDS Connection Service so that the BlackBerry MDS Connection Service can use the new information immediately.
- In the BlackBerry Administration Service, on the Servers and components menu, expand BlackBerry Solution topology > BlackBerry Domain > Component view.
- Click MDS Connection Service.
- On the LDAP tab, click Edit component.
- In the LDAP Service Information section,
perform one of the following tasks:
Task
Steps
Create an LDAP server configuration.
Change an existing LDAP server configuration.
- Click Save All.
Configure the OCSP servers that the BlackBerry MDS Connection Service uses to retrieve the status of certificates for web servers
- In the BlackBerry Administration Service, on the Servers and components menu, expand BlackBerry Solution topology > BlackBerry Domain > Component view.
- Click MDS Connection Service.
- On the OCSP tab, click Edit component.
- In the Protocol Service Information section, perform the following actions:
- Configure the BlackBerry MDS Connection Service to accept OCSP servers that BlackBerry devices specify.
- Perform one of the following tasks:
Task
Steps
Create an OCSP server configuration.
Change an existing OCSP server configuration.
- Click Save All.
Configure the CRL servers that the BlackBerry MDS Connection Service uses to retrieve the status of the certificates for web servers
- In the BlackBerry Administration Service, on the Servers and components menu, expand BlackBerry Solution topology > BlackBerry Domain > Component view.
- Click MDS Connection Service.
- On the CRL tab, click Edit component.
- In the Protocol Service Information section, perform the following actions:
- Configure the BlackBerry MDS Connection Service to accept CRL servers that BlackBerry devices specify.
- Perform one of the following tasks:
Task
Steps
Create a CRL server configuration.
Change an existing CRL server configuration.
- Click Save All.
Add communication information to a BlackBerry MDS Connection Service configuration set
- In the BlackBerry Administration Service, on the Servers and components menu, expand BlackBerry Solution topology > BlackBerry Domain > Component view.
- Click MDS Connection Service.
- Click Edit component.
- On the Configuration sets tab, perform one of the following actions:
- In the Priority Service group drop-down list, click the name of the service that you want configure the communication method for.
- In the Service (Name : Description) drop-down list, click the name of the communication method that you want to configure.
- Click the Add icon.
- To specify the communication method that the BlackBerry MDS Connection Service should try first to connect to the server, click the Up and Down icons. The order of communication methods that you configure applies to LDAP, OCSP, and file communication methods individually. The order permits the BlackBerry MDS Connection Service to resolve conflicts between domains if you created multiple communication methods for a specific URL.
- Perform one of the following actions:
- Click Save all.
Assign a BlackBerry MDS Connection Service configuration set to a BlackBerry MDS Connection Service instance
- In the BlackBerry Administration Service, on the Servers and components menu, expand BlackBerry Solution topology > BlackBerry Domain > Component view.
- Click MDS Connection Service.
- Click the instance that you want to change.
- Click Edit instance.
- On the Component configuration sets tab, in the Available component configuration sets section, in the Service configuration sets drop-down list, click the configuration set that you want to assign to the BlackBerry MDS Connection Service instance.
- Click Save all.
- To restart the BlackBerry MDS Connection Service instance, on the Instance information tab, in the Status list, click Restart instance.
- To assign the BlackBerry MDS Connection Service configuration set to another BlackBerry MDS Connection Service instance, complete steps 3 to 7.
Add a retrieved certificate for a web server to the key store
- Save the certificate from a secure web site to a .cer file.
- On the computer that hosts the BlackBerry MDS Connection Service, copy the .cer file to <drive>:\Program Files\Java\<JRE_version>\lib\security.
- At a command prompt, navigate to <drive>:\Program Files\Java\<JRE_version>\bin.
- Type keytool -import -trustcacerts -alias <alias_name> -file <cert_filename> -keystore cacerts.
- Type the key store password.
- To add the certificate to the key store, at the command prompt, type Yes.