Creating the SAP Router certificate request
- Login to the SAP Service Marketplace with the S-user ID which is assigned to your installation.
- Use the latest SAProuter version, which can be downloaded from the SAP Software Download Center at http://service.sap.com/swdc.
- Change to http://service.sap.com/saprouter-sncadd. Before you can download
the software components two preconditions must be met:
-
You must have been allowed to download the software. This authorization is
added as soon as SAP has received a positive statement from the
"Bundesausfuhramt" (German Federal Export Office). This procedure is
necessary since the software falls under EU regulations.
For more information on how to obtain authorization if download is not possible see note 397175.
-
You must accept that you must follow the regulations imposed by the EU on the
use and distribution of the cryptographic software components downloaded from
the SAP Service Marketplace.
The acceptance of the terms and conditions is logged with your user ID and stored for reporting purposes to the "Bundesausfuhramt".
-
You must have been allowed to download the software. This authorization is
added as soon as SAP has received a positive statement from the
"Bundesausfuhramt" (German Federal Export Office). This procedure is
necessary since the software falls under EU regulations.
- Click on "Download Area" > "SAP Cryptographic Software"
and select the correct sapcrypto library for your SAProuter
<op-sys>
. Save the file to the directory where the SAProuter executable is located. - You can get the file car.exe/sapcar.exe, which is necessary to unpack the
archive from any Installation Kernel CD. Executing the command
car -xvf SAPCRYPTO.CAR
will unpack the following files:[lib]sapcrypto.[dll|so|sl]
sapgenpse[.exe]
ticket
Creating the certificate request
-
As user <snc_adm> set the environment variables
SNC_LIB
andSECUDIR
:
UNIX
SECUDIR = <directory_of_SAProuter>
SNC_LIB =
<path_to_libsecude>/<name_of_sapcrypto_library>
Windows NT, 2000, XP or higher
SECUDIR = <directory_of_SAProuter>
SNC_LIB =
<drive>:\<path_to_libsecude>\ntia64\sapcrypto.dll
orSNC_LIB =
<drive>:\<path_to_libsecude>\ntintel\sapcrypto.dll
orSNC_LIB =
<drive>:\<path_to_libsecude>\nt-x86_64\sapcrypto.dll
Note
After configuring the variables in Windows, you have to reboot this server before you continue.
sapgenpse get_pse
-v -r certreq -p local.pse "<Distinguished Name>"
Example:
sapgenpse get_pse -v -r certreq -p
local.pse "CN=example, OU=0000123456, OU=SAProuter, O=SAP, C=DE"
Alternatively use the two commands:sapgenpse get_pse -v -noreq -p
local.pse "<Distinguished Name>"
sapgenpse get_pse -v
-onlyreq -r certreq -p local.pse
You will be asked twice for a PIN here. Please choose a PIN and document it,
you have to enter it identically both times. Then you will have to enter the
same PIN every time you want to use this PSE.sapgenpse import_own_cert -c srcert -p local.pse
sapgenpse seclogin -p local.pse -O
<user_for _SAProuter>
Note: The account of the service user should always be entered in full <domainname>\<username>
For increased security please check that the file can only be accessed by the
user running the SAProuter.
Do not allow any other access (not even from the same group)!
On UNIX this will mean permissions being set to 600 or even 400!
On Windows check that the permissions are granted only to the user the service is running as!
Do not allow any other access (not even from the same group)!
On UNIX this will mean permissions being set to 600 or even 400!
On Windows check that the permissions are granted only to the user the service is running as!
sapgenpse get_my_name -v -n Issuer
The name of the Issuer should be:
CN=SAProuter CA, OU=SAProuter,
O=SAP, C=DE