Show TOC Start of Content Area

Procedure documentation Installing the SAP Cryptographic Library on the AS Java for SNC  Locate the document in its SAP Library structure

The AS Java uses the SAP Cryptographic Library for cryptographic functions, for example, SSL and SNC. You can use this procedure to install or update the SAP Cryptographic Library on the AS Java.

Note

If you have already installed the SAP Cryptographic Library for use for other functions, for example, SSL, then you can skip the steps for downloading and installing the files. You do have to note the locations of the files and set the environment variable SECUDIR.

Prerequisites

You have obtained the SAP Cryptographic Library installation package, which is available for authorized customers on the SAP Service Marketplace at service.sap.com/swdc under Download SAP Cryptographic Software. The package contains the following files:

      The SAP Cryptographic Library (sapcrypto.dll for Windows NT and higher or libsapcrypto.<ext> for UNIX)

      A corresponding license ticket (ticket)

      The configuration tool sapgenpse.exe

Procedure

...

       1.      Download the SAP Cryptographic Library installation package to the file system of the AS Java and extract its contents.

       2.      Copy the library, the configuration tool, and the license ticket to the corresponding directories:

       Copy the library and the configuration tool to the AS Java executable directory that is specified by the parameter $(DIR_EXECUTABLE).

       Copy the ticket to the $(DIR_INSTANCE)/sec directory. If the sec subdirectory does not yet exist, create it.

Example

SAP Cryptographic Library: \usr\sap\<SID>\SYS\exe

Ticket: \usr\sap\<SID>\<instance>\sec

       3.      Note the location of the SAP Cryptographic Library. You will need this in other steps, for example, when setting the SNC parameters.

       4.      Check the file permissions. The operating system user under which the AS Java runs must be able to execute the library’s functions.

Note

This user is specified during the installation. By default it is <sid>adm for UNIX installations and SAPService<SID> for Windows.

       5.      Set the environment variable SECUDIR for the AS Java’s user to the sec directory.

Result

The SAP Cryptographic Library is installed on the AS Java.

Examples

Location of the SAP Cryptographic Library

C:\usr\sap\<SID>\SYS\exe\sapcrypto.dll

Location of the Configuration Tool sapgenpse

C:\usr\sap\<SID>\SYS\exe\sapgenpse.exe

Location of the License Ticket

C:\usr\sap\<SID>\<instance>\sec\ticket

SECUDIR Directory

C:\usr\sap\<SID>\<instance>\sec

 

End of Content Area