Show TOC

Installing the SAP Cryptographic Library on the AS ABAPLocate this document in the navigation structure

Use the following procedure to install the SAP Cryptographic Library on the AS ABAP.

The SAP Cryptographic Library is available with this release of SAP NetWeaver Application Server ABAP. For more information, see SAP Note 1848999 Information published on SAP site.

Note

For information about how to install the SAP Cryptographic Library on the AS Java, see the related link.

Procedure

As user <sid>adm:

  1. Extract the contents of the SAP Cryptographic Library installation package.

  2. Copy the library file and the configuration tool sapgenpse.exe to the directory specified by the application server's profile parameter DIR_EXECUTABLE. In the following, we represent this directory with the notation $(DIR_EXECUTABLE).

    Example

    UNIX:

    • DIR_EXECUTABLE: /usr/sap/<SID>/SYS/exe/run/

    • Location of SAP Cryptographic Library: /usr/sap/<SID>/SYS/exe/run/libsapcrypto.so

    Windows NT:

    • DIR_EXECUTABLE: <DRIVE>:\usr\sap\<SID>\SYS\exe\run\

    • Location of SAP Cryptographic Library: <DRIVE>:\usr\sap\<SID>\SYS\exe\run\sapcrypto.dll

  3. Check the file permissions for the SAP Cryptographic Library. If, for example, you copied the library to its location using ftp on UNIX, then the file permissions may not be set correctly. Make sure that <sid>adm (or SAPService<SID> under Windows NT) is able to execute the library's functions.

  4. Set the environment variable SECUDIR to the sec subdirectory.

    Recommendation

    If you set the environment variable using the command line, then the value may not be applied to the server's processes. Therefore, we recommend setting SECUDIR in the startup profile for the server's user or in the registry (Windows).

Result

The SAP Cryptographic Library is installed on the application server and the environment is set up correctly so that the server can locate the library at runtime.