Configuration on Sybase ASE

  1. Copy the PKCS#11 library libcs_pkcs11_R3.so to the SAP Sybase ASE library folder /opt/sap/ASE-16_1/lib/.

  2. Copy the PKCS#11 config file cs_pkcs11_R3.cfg to the SAP Sybase ASE home library /opt/sap/config/.

  3. Update the PKCS#11 config file cs_pkcs11_R3.cfg.

  4. Update the environment variables in SYBASE.sh for the u.trust GP HSM Se-Series. Add the environment variable for PKCS#11 R3 library and config file.

image-20260330-171124.png


Add Environment Variables in SYBASE.sh

  1. Include the SYBASE.sh execution in '.bash_profile'.

# Load SAP Sybase ASE environment automatically

if [ -f "$HOME/SYBASE.sh" ]; then
    . "$HOME/SYBASE.sh"
fi
  1. Update the environment variables in RUN_SAP01 and RUN_SAP01_BS for the u.trust GP HSM Se-Series. Both files should have same changes as per the below screenshot. Both files are available in /ASE-16_1/install/RUN_SAP01 and /ASE-16_1/install/RUN_SAP01/RUN_SAP01_BS.

02_Env_RUN_SAP01-20260330-170510.png


RUN_SAP01 Changes

  1. Shutdown the ASE server then restart the ASE server using startserver.

1> shutdown
2> go
image-20260326-232606.png


ASE Server Shutdown

$cd ASE-16_1/install/
$/opt/sap/ASE-16_1/bin/startserver -f RUN_SAP01


image-20260326-232827.png


Start ASE Server