Provisioning the SAP Mobile Server Public Key

Use the public key of the SAP Mobile Server to populate its value in the provisioning file.

During start-up, the server verification key is stored in a text file called ServerVerificationKey.txt in SMP_HOME/Servers/MessagingServer. This file is created only at messaging service startup, so you must start the messaging service to see this file. The file is the Base64-encoded server verification key and contents is used as the value for the serververificationkey= key property.

To ensure proper security for application clients on the iOS, Android and Blackberry platforms, seed applications with the SAP Mobile Server public key:

  1. Follow the steps of Seeding Applications for Mutually-Authenticated Connections.

    SAP Mobile Platform persists the public key obtained during activation from the trusted intranet connection as the verification key, and validates subsequent requests against this verification key. This key is never exchanged or reset even if the devices are in public networks.

  2. To activate the application with a different SAP Mobile Server cluster, the application must clear or reset APIs to clear the verification key, as described in either Developer Guide: OData SDK or Developer Guide: Hybrid Apps. Alternatively, end users can uninstall and reinstall the application.