IT-Conductor Gateway Setup for SAP Secure Network Communications (SNC)
Last updated
Last updated
Secure Network Communication (SNC) is a software layer in the SAP System architecture that provides an interface to an external security product. SAP Systems offers basic security measures like SAP authorization and user authentication based on passwords. With SNC, you can include protection by an external security product. SNC provides application-level, end-to-end security, and secures all communications between two SNC-protected components. SNC protection only applies to connections that use SAP protocols such as dialog, RFC, or CPIC protocols.
On Windows:
Open the System Properties dialog and change the directory to "/opt/itconductor/conf".
Note: If SNC is already configured on the machine and the SECUDIR system environment variable is set, skip this step.
Edit file startup. Add SECUDIR lines as shown below:
Note: If SNC is already configured on the machine and SECUDIR uses the value of the existing environment variable.
Download the SAP Cryptographic Library ("SAPCRYPTOLIB.SAR" file) from the SAP Service Marketplace.
Extract and copy the library and the command-line tool to a local directory.
Note: Make sure the SECUDIR environment variable is set. You can set it for the current session on Linux and make sure the value is the same as in the previous steps.
Obtain the SNC Distinguished Name (DN) for the IT-Conductor Gateway from your security team. (e.g., CN=IT-Conductor, OU=IT, O=ACME, C=US)
Decide on PSE Name. It could be "itconductor" or any valid name.
Create a local Personal Security Environment (PSE).
To create the SNC PSE for IT-Conductor, use the command line tool sapgenpse.
Run the following command to create a PSE in the directory corresponding to the SECUDIR environment variable:
Note: The SNC DN "CN=IT-Conductor, OU=IT, O=ACME, C=US" is used for the optional "SNC Client Name" field in the IT-Conductor SAP Account.
Exchange public-key certificates by export and import. IT-Conductor and SAP Systems must identify each other to communicate using SNC.
Export the public-key certificate corresponding to the above created local PSE (used by the IT-Conductor) as the following:
For each SAP System, IT-Conductor will be connecting using SNC. Repeat the following steps:
a. Import the created client certificate into the SAP System using the trust manager (transaction code STRUST).
b. Export the server certificate from the SAP Server using the trust manager (transaction code STRUST).
Note: If a server certificate does not exist, create a server certificate. For more information, contact your SAP Administrator.
c. Import the SAP Server certificate into the IT-Conductor PSE using the following command:
d. Update SNC name for IT-Conductor SAP accounts using Transaction code SU01.
Make sure to prefix the DN for each SAP Account you plan to use in IT-Conductor with "p:" as p:CN=IT-Conductor, OU=IT, O=ACME, C=US.
Grant SNC permissions to the operating system. The Gateway service running as SAP System requires active credentials at run-time to access its PSE. You can use the seclogin to open the PSE and create the required credentials.
The following command line grants SNC permissions for the user SYSTEM to access the file sap_plugin_pse.
The user name is SYSTEM, as the gateway runs under the Local System Account.
Windows | Linux/Unix | |
---|---|---|
Library
sapcrypto.dll
sapcrypto.so
Command Line
sapgenpse.exe
sapgenpse