Replacing Default SAP Mobile Platform Server Certificate

Use

The self-signed certificate smp_crt is created during installation and contains the fully qualified domain name of the system as its CN. By default, the same certificate is configured for all secure connections in SAP Mobile Platform Server. You must replace this default certificate with a production-ready certificate after you install SAP Mobile Platform. For shared certificates, SAP recommends that you maintain the existing certificate alias when importing the new certificates.

Procedure

Obtain a Signed SSL Server Certificate for SAP Mobile Platform Server

  1. Go to the <SMP_HOME>\sapjvm_7\bin folder.

  2. Generate a new key pair with the command:

    keytool -genkey -dname cn=<common name>,o=<organization>,c=<country> -alias smp_crt -keyalg RSA -keystore smp_keystore.jks

  3. Generate a certificate signing request (CSR) with the command:

    keytool -certreq -keyalg RSA -alias smp_crt -file smp.csr -keystore smp_keystore.jks.

  4. Send the contents of the certificate request to your CA. The procedure depends on the CA that you use.

  5. Copy the response (including ---BEGIN and END---) into smp.rsp.

  6. Import the signed certificate into the keystore with the command:

    keytool -importcert -alias smp_crt -file smp.rsp -keystore smp_keystore.jks.