Sap SNC Configuration - Doc - Sap SNC Configuration
Sap SNC Configuration - Doc - Sap SNC Configuration
Sap SNC Configuration - Doc - Sap SNC Configuration
J oy V.Ramachandr an
Consultant SAP BASIS
IVL India Pvt Ltd
Technopar k , Tr ivandr um
Ker ala India
joy.r [email protected] ; joy_r [email protected]
Contents
Extract the criptographic libraries and sapgenpse and ticket files in to the saprouter.exe
location using
# SAPCAR xvf < cryprographic car file>
Next goto www.service.sap.com/tcp get the distingush name . Then execute the following
commands by copy paste the distinguished name
/* CN & "OU " in the distingush name will be different for different organizations */
#./sapgenpse get_pse -v -r certreq -p local.pse
"CN=yourhostname , OU=123456, OU=SAProuter, O=SAP, C=DE "
Got absolute PSE path
"/usr/sap/C11/SYS/exe/run/local.pse".
Please enter PIN:<press enter>
Please reenter PIN:<press enter>
Supplied distinguished name: "CN=YourHostName, OU=12345,
OU=SAProuter, O=SAP,
C=DE "
Generating key (RSA, 1024-bits) ... succeeded.
certificate creation... ok
PSE update... ok
PKRoot... ok
Generating certificate request... ok.
<ESC><SHIFT> : x
IMPORTING CERTIFICATE
Next step is to import this certificate using the below command syntax .
# ./sapgenpse import_own_cert -c srcert -p local.pse
CA-Response successfully imported into PSE
"/usr/sap/MPS/SYS/exe/run/local.pse"
SAPROUTTAB ENTRIES
For SNC SAPROUTER , the enries should not be the same as non-saprouter
./saprouttab should contain at least the following entries
# inbound connections MUST use SNC
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" <your_server1>
<port_number>
# repeat this for the servers and port_numbers you will need to allow,
# please make sure that all explicit ports are inserted in front of a
# generic entry '*' for port_number
# outbound connections to <sapservX> will use SNC
KT "p:CN=sapserv2 OU=SAProuter, O=SAP, C=DE" <sapservX>
<sapservX_inbound_port>
#
P
#
D
Example:
For a SNC encrypted connection to the SAPRouter on sapserv2 (194.39.131.34),
the saprouttab should contain the following entries:
# # SNC-connection from and to SAP
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
# SNC-connection from SAP to local R/3-System for Support
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" <R/3-Server> <R/3Instance>
# SNC-connection from SAP to local R/3-System for NetMeeting, if it is
needed
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" <R/3-Server> 1503
# SNC-connection from SAP to local R/3-System for saptelnet, if it is
needed
KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" <R/3-Server> 23
# Access from the local Network to SAPNet - R/3 Frontend (OSS)
P <IP-addess of a local PC> 194.39.131.34 3299
# deny all other connections
D * * *
DEBUGGING
WINDOWS
For windows create PATH, SECUDIR, SNC_LIB and LIBPATH in their environment
settings area.