0% found this document useful (0 votes)
24 views8 pages

SAProuter SNC Connection Setup Guide

The document provides a step-by-step guide for downloading necessary software components from the SAP Service Marketplace and setting up SAProuter, including obtaining authorization and configuring environment variables. It details the process for applying for an electronic certificate, importing it, and ensuring proper permissions and settings are in place. Additionally, it includes instructions for starting the SAProuter with the correct parameters and references to further SAP notes for additional information.

Uploaded by

pauline
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views8 pages

SAProuter SNC Connection Setup Guide

The document provides a step-by-step guide for downloading necessary software components from the SAP Service Marketplace and setting up SAProuter, including obtaining authorization and configuring environment variables. It details the process for applying for an electronic certificate, importing it, and ensuring proper permissions and settings are in place. Additionally, it includes instructions for starting the SAProuter with the correct parameters and references to further SAP notes for additional information.

Uploaded by

pauline
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Downloading necessary software components

from SAP Service Marketplace

1. Login to the SAP Service Marketplace with the Service Marketplace


USERID which is assigned to your installation.
2. Change to the alias swdc -> Download -> SAP Cryptographic Software.
Before you can download the software components two preconditions
must be met.

a. 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". This
procedure is necessary since the software falls under EU regulations.
b. For more information on how to obtain authorization if download is not possible see
note 397175.
c. 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.
3. The acceptance of the terms and conditions is logged with your USERID
and stored for reporting purposes to the "Bundesausfuhramt".

4. Copy the downloaded file (*. car) to directory where the SAProuter would
be executed.

5. You must have the [Link] or [Link] in order to compress the CAR
file.

6. By the command of car -xvf [Link], /ntintel directory is created and


the following files are extracted.

(Example C:/saprouter/ntintel)

( when the Microsoft Windows NT Intel version is downloaded)

C:/saprouter/ntintel/[Link]

C:/saprouter/ntintel/[Link]
C:/saprouter/ticket

Issue of Electronic Certificate

1. The user environment variable following by the administrator (user with


administrator authority) of SAProuter is defined.

It is necessary to define an environment variable as the user account of the


apparatus by which SAProuter is operating.

Window NT environment variable setup :


Right-clicked the icon of you computer
Property -> details -> environment variable

SECUDIR = < Directory name >


Example. Variable name : SECUDIR
Variable value : C:/saprouter/

SNC_LIB = < Directory name >


Example. Variable name : SNC_LIB
Variable value : C:\saprouter\ntintel\[Link]
UNIX <path_to_libsecude>/<name_of_sapcrypto_library>
Windows
NT, <drive>:\<path_to_libsecude>\
Windows <name_of_sapcrypto_library>
2000
2. Check if the environment of the user running saprouter contains the
environment variable SNC_LIB.
UNIX Printenv
System environment
Windows NT
Variable
3. You may apply for a SAProuter certificate from the SAP Trust Center Service of SAP
service marketplace

[Link]
> SAP Trust Center Service in Detail
> SAProuter Certificates

SAProuter Certificate "Apply Now"


Click the button.
Request Certificate for SAProuter -Step ½
4. Please take note of the "Distinguished Name"

[Link] refer to the example above

-SAPRouter Name : JPL50020586

-Distinguished Name :

CN=JPL50020586, OU=0000036946, OU=SAProuter, O=SAP, C=DE

Then, clicked the "Continue" button.

6. Execute the following command in the C:/saprouter/ntintel


directory.

sapgenpse get_pse -v -r certreq -p [Link] "Distinguished Nam e"

Example

sapgenpse get_pse –v -r certreq -p [Link] "CN=JPL50020586,


OU=0000036946, OU=SAProuter, O=SAP, C=DE"

Enter the PIN number. (you may enter any passwords you wish.)

Please enter PIN :

Please re-enterPIN : <- you must use the same password as the above.

7. C: The "certreq" file is created in the /saprouter/ntintel directory.


8. Use a note pad to open the "certreq" file and copy the displayed (From
the -BEGIN .to the END -) into it.

9. You have to paste the above “copy content”to the step2/2 (Request
Certificate for SAProuter) found in the service marketplace as shown
below. After you have pasted the text, click the “Request
Certificate”button to submit your request.
10. The CA (Certification Authority) will issue a certificate via the
service marketplace. Using a memo pad to copy the content (From –
Being… to -END) and save it as “srcert”in the local file.

C:/saprouter/ntintel/srcert )

* Note :

- Please rename [Link] and remove the extension.

11. A certificate is registered into SAProuter using the following


command.

C: Please run on /saprouter/ntintel directory.

sapgenpse import_own_cert -c srcert -p [Link]

Please enter PIN :


12. C: Execute the following command in the /saprouter/ntintel
directory.

sapgenpse seclogin -p [Link]

Please enter PIN : (same as point 6)

13. This will create a file "cred_v2" in the same directory.

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 NT check that the permissions are granted
only to the user the service is running as!

14. Please check that the certificate has been imported correctly.

C: Please perform on \saprouter\ntintel directory.

sapgenpse get_my_name -v -n Issuer


15. When the above results are not obtained in the chapter of "issue of
an electronic certificate" file, please delete [Link] and cred_v2 and
work again from the 4th clause. Please seek the assistance from your
local SAP helpdest or create an OSS message via component XX-SER-NET-
OSS, if you are not able to obtain the above-mentioned result after you
have repeated the above steps.

Route permission table (saprouttab)

1. The corresponding file ./saprouttab should contain at least the following


entries.

Example : by SNC connection, when connecting to sapserv2


([Link]) the following entries need to be indicated by
saprouttab.,

# SNC-connection to SAP
KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" [Link] *

# 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/3-Instance>

# SNC-connection from SAP to local R/3-System for pcANYWHERE, if it is needed


KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" <R/3-Server> 5631

# 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> [Link] 3299

# deny all other connections


D***
Start the SAProuter with the following command.

Saprouter -r -S <port> -K "p: <Your Distingiushed Name>"

-K tells the saprouter to start with loading the SNC library.

Example: saprouter -r -S 3299 –K "p:CN=JPL50020586, OU=0000036946,


OU=SAProuter, O=SAP, C=DE"

Additional Note

-You may refer to SAP note: 30289 in the SAP service marketplace for
detail information with regards to SAProuter
[Link]

Common questions

Powered by AI

The 'sapgenpse' command uses 'distinguished names' to generate a Personal Security Environment (PSE) for SAProuter. A distinguished name, which follows a structured format including identifiers like CN, OU, O, and C, is input when executing 'sapgenpse get_pse' to create a certificate request ('certreq' file). This name ensures the generated PSE is uniquely identified, corresponding to a specific SAProuter within the network .

The 'saprouttab' file serves as a route permission table for SAProuter, determining which connections are allowed or denied. It contains entries that define permitted Secure Network Communication (SNC) connections between the SAProuter and various SAP systems or services. Entries specify connection types, such as those to an SAP R/3-System for support or through specific ports. Deny entries ensure that all unspecified connections are blocked, enhancing network security .

To apply for an SAProuter certificate from the SAP Trust Center Service, first navigate to the service via the SAP marketplace. Begin the application by selecting 'SAP Trust Center Service in Detail' and then 'SAProuter Certificates.' Follow the guided steps, starting with 'Request Certificate for SAProuter -Step ½,' enter the 'distinguished name,' and use the 'sapgenpse get_pse' command to create a certificate request. Finally, submit the 'certreq' file content on the marketplace, which processes the application .

To ensure the correctness of a certificate imported into SAProuter, execute the 'sapgenpse get_my_name -v -n Issuer' command in the SAProuter directory to verify the certificate's issuer and ensure it matches expectations. This checks the certificate details and confirms successful importation. If issues arise, the user may need to restart the certificate importation process or seek assistance through SAP support channels .

The environment variable 'SNC_LIB' is set to specify the directory path where the SAProuter's cryptographic library, 'sapcrypto.dll,' is located. This variable allows SAProuter to use the cryptographic functions provided by the library, which are essential for secure communications. On Windows NT, it is set as a system environment variable to ensure that SAProuter, when executed, can automatically locate and load the necessary cryptographic component .

To download cryptographic software components from the SAP Service Marketplace, you need to first log in with your USERID assigned to your installation, navigate to Downloads under SAP Cryptographic Software, and ensure you have the necessary authorizations added by SAP after a positive statement from the 'Bundesausfuhramt.' Accept the EU regulations on the use and distribution of the cryptographic software components. The acceptance of the terms is logged with your USERID for reporting to the 'Bundesausfuhramt' .

Setting secure permissions for SAProuter directories on Windows NT is crucial to prevent unauthorized access to sensitive files that control SAProuter operations and secure communications. Permissions should be configured so that only the user account running SAProuter can access these directories and files, thus mitigating risks of data breaches or misuse of the SAProuter environment by other unauthorized users or processes .

The implications of downloading SAP software components under EU regulations include undergoing a vetting process whereby a positive statement from the 'Bundesausfuhramt' is required before SAP grants download authorization. Furthermore, users must comply with EU imposed regulations regarding usage and distribution, ensuring that they do not breach any legal constraints. Accepting the terms is also a requirement, and this compliance is recorded and reported for auditing purposes .

To ensure high security for the 'cred_v2' file generated by SAProuter on a Unix system, set file permissions to restrict access strictly to the user running the SAProuter. This typically involves modifying the file permissions to 600, allowing only the owner to read and write, or 400, allowing only reading access to the owner, thus preventing any group or other user access .

If the SAProuter electronic certificate is not correctly issued, check the current directory using the command 'sapgenpse get_my_name -v -n Issuer' to verify the certificate's importation. If the results are unsatisfactory, delete 'local.pse' and 'cred_v2,' then redo the process starting from step 4. If problems persist, seek assistance from the local SAP helpdesk or create an OSS message via component XX-SER-NET-OSS .

You might also like