Create SAP BTP Destinations with mTLS Authentication (X.509 Certificate)

For the destination, provide the following input:

  • Client_id (from CALM service instance key)

  • Token Service URL (from CALM service instance key) - Example: https://calm-dev-eu10-xxxxx.authentication.cert.eu10.hana.ondemand.com/oauth/token

  • Certificate (pem file)

  • Private key for certificate (pem file)

Procedure

  1. Create a PKCS#12 keystore from the private key and the certificate pem files.

    openssl pkcs12 -export -in certificate.pem -inkey key.pem -name 'calmx509' -out calmx509.p12

  2. Log on to the SAP BTP Destination Service of your SAP Cloud ALM subscriber tenant.

  3. Upload the PKCS#12 keystore that you previously generated to the Certificates section:

  4. Create the destination of type OAuth2ClientCredentials and provide the required properties.

    Check Use mTLS for token retrieval.

  5. Select the PKCS#12 keystore that you uploaded in the Certificates section.

  6. Note that chosing Check Connection might return an error: