Securing Connections to SAP HANA Cloud Using SAP Common Crypto Library

Use the SAP Common Crypto Library (CommonCryptoLib) to secure the connection between the SAP HANA client and SAP HANA Cloud.

Procedure

  1. Download the DigiCert Global Root CA cerificate authority at https://dl.cacerts.digicert.com/DigiCertGlobalRootCA.crt.pemInformation published on non-SAP site
  2. Add the trusted root certificate file to a PSE file called $SECUDIR/sapcli.pse to be used by the client:
    1. Use the following command if $SECUDIR/sapcli.pse already exists:
      sapgenpse maintain_pk -p sapcli.pse -a DigiCertGlobalRootCA.crt.pem
    2. Use the following command if there is no existing $SECUDIR/sapcli.pse:
      sapgenpse gen_verify_pse -p sapcli.pse -a DigiCertGlobalRootCA.crt.pem
  3. Specify the HANA Cloud host, UserID, and password. The following is an example for ODBC:
    serverNode=12345678-abcd-12ab-34cd-1234abcd.hana.hanacloud.ondemand.com:443;UID=myuser;PWD=mypassword