on 07-26-2013 8:19 PM
Hi,
Fisrt check you have environment variables SECUDIR and SNC_LIB pointing to the right path of user <SID>adm
Ex: c\usr\saprouter
Then take a backup of your soaprouttab file and download files saprouter.sar and sapcrypto.sar from market place.
Generate the certificate Request with the command:
sapgenpse get_pse -v -r certreq -p local.pse
“ <Distinguished Name>”
Display the output file "certreq" and
with copy&paste (including the BEGIN and END statement) insert the
certificate request into the text area of the same form on the SAP Service
Marketplace from which you copied the Distinguished Name.
In response you will receive the certificate signed
by the CA in the Service Marketplace. Copy&paste the text to a new local
file named "srcert", which must be created in the same directory as
the sapgenpse executable.
With this in turn you can install the certificate
in your saprouter by calling:
sapgenpse import_own_cert -c srcert -p local.pse
C:\saprouter>sapgenpse import_own_cert -c srcert -p
local.pse
Please enter PIN:
CA-Response successfully imported into PSE
"C:\saprouter\local.pse"
Now you will have to create the credentials for the
SAProuter with the same program (if you omit -O <user_for_saprouter>, the
credentials are created for the logged in user account).
sapgenpse seclogin -p local.pse -O <user_for
_saprouter>Note: The account of the service user should always be
entered in full <domainname>\<username>
C:\saprouter>sapgenpse seclogin -p local.pse
running
seclogin with USER="adminmqa"
Please enter PIN:
Added
SSO-credentials for PSE "C:\saprouter\local.pse"
"CN=autdev,
OU=0001053079, OU=SAProuter, O=SAP, C=DE"
8. This will create a file called "cred_v2"
in the same directory as "local.pse"
Check if the certificate has been imported
successfully with the following command:
sapgenpse get_my_name -v -n Issuer
Check if the environment of the user running SAProuter
contains the environment variable SNC_LIB and SECUDIR
Start the SAProuter with the following command line (to start the
SAProuter as a Windows service, please follow the steps described in SAP note
525751):
saprouter -r -S <port> -K "p:<Distingushed Name>"
-K tells the saprouter to start
with loading the SNC library
HOpe this helps
Example
saprouter
-r -K "p:CN=example, OU=0000123456, OU=SAProuter, O=SAP, C=DE"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Nahuel,
It is looking that sap router is not configure correctly.
Please login with SIDadm and scroll the to SAProuter folder and run the following command
sapgenpse seclogin -p local.pse -O <sidadm>
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abdul
Thanks for the answer.
Here is what happened when I try to start Saprouter. (printscreen)
Then I check dev_rout
---------------------------------------------------
trc file: "dev_rout", trc level: 1, release: "700"
---------------------------------------------------
Tue Aug 13 09:52:24 2013
SAP Network Interface Router, Version 38.10
command line arg 0: saprouter.exe
command line arg 1: -r
main: pid = 7004, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
reading routtab: './saprouttab'
*** ERROR => SNC field without SNC active, skip line 2 [nirout.cpp 7775]
*** ERROR => SNC field without SNC active, skip line 5 [nirout.cpp 7775]
*** ERROR => SNC field without SNC active, skip line 6 [nirout.cpp 7775]
*** ERROR => SNC field without SNC active, skip line 7 [nirout.cpp 7775]
*** ERROR => SNC field without SNC active, skip line 8 [nirout.cpp 7775]
*** ERROR => SNC field without SNC active, skip line 9 [nirout.cpp 7775]
*** ERROR => SNC field without SNC active, skip line 10 [nirout.cpp 7775]
*** ERROR => SNC field without SNC active, skip line 11 [nirout.cpp 7775]
*** ERROR => SNC field without SNC active, skip line 12 [nirout.cpp 7775]
Something is wrong with the saprouttab, but I don´t know what.(printscreen sapreouttab)
Regards.
hi Nahuel,
Please put the P * * * in saprouttab, run following command and share the output.
saprouter.exe -r -K "p:CN=SR-SAP2.hagraf, OU=0001192977, OU=SAProuter, O=SAP, C=DE"
saprouttab should be without any extension.
Regards,
Check SNC configuration in saprouttab file on saprouter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.