Installing the SAP Cryptographic Libraries on Unwired Platform

Installation and configuration is required if you want to configure Secure Network Communications (SNC) for Unwired Platform SAP JCo connections. SNC may be required by the SAP EIS in question, if SSO2 tokens or X.509 certificates are used for connection authentication.

Prerequisites
Download and install the SAPCAR utility, which is required to extract the contents of the cryptographic library.
Task
Unzip and install the contents of the latest SAP Cryptographic archive on your Unwired Server host. There are different distribution packages for various hardware processors.

Make sure you are installing the correct libraries for your environment, and into folders based on the particular architecture of your machine.

  1. Go to the SAP Web site at http://service.sap.com/swdc and download the latest SAP cryptographic library suitable for your platform.
    1. Navigate to Installations and Upgrades > Browse our Download Catalog > SAP Cryptographic Software > SAP Cryptographic Software.
    2. Select and download the platform specific file.
  2. Create a directory in which you unzip the Cryptographic zip file. For example: C:\sapcryptolib.
  3. Copy the appropriate Windows cryptographic library for your machine (for example, 90000101.SAR) to the C:\sapcryptolib directory.
  4. Open a command prompt and navigate to C:\sapcryptolib.
  5. Extract the SAR file. For example:
    SAPCAR_4-20002092.EXE -xvf C:\90000101.SAR -R C:\sapcryptolib
  6. Depending on your platform:
    • 64-bit – delete the nt-x86_64 directory from the C:\sapcryptolib directory. Copy the contents of the nt-x86_64 subdirectory to C:\sapcryptolib.
    • 32-bit – delete the ntia64 and nt-x86_64 directories from the C:\sapcryptolib directory. Copy the contents of the ntintel subdirectory to C:\sapcryptolib. Delete the ntintel subdirectory.
  7. Add the SECUDIR environment variable based on machine type and Unwired Platform component:
    • 64-bit Unwired Server – requires access to the 64-bit crypto libraries. Set SECUDIR in <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\bin\usersetenv.bat to point to the location of the 64-bit crypto libraries. For example:

      set SECUDIR=C:\sapcryptolib

    • 32-bit Unwired Server – requires access to the 32-bit crypto libraries. Set SECUDIR in <UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\bin\usersetenv.bat to point to the location of the 32-bit crypto libraries. For example:

      set SECUDIR=C:\sapcryptolib

    • Unwired WorkSpace – runs in 32-bit mode regardless of machine type and requires access to the 32-bit crypto libraries. Set SECUDIR in C:\Sybase\UnwiredPlatform\Eclipse\UnwiredWorkSpace.bat above the line SUP_ROOT=<SUP_HOME>. For example:

      set SECUDIR=C:\sapcryptolib