Register Login

How to renew the Sap Router License/Certificate Validity?

Updated Jan 13, 2020

How to renew the Sap Router License/Certificate Validity?

Solution:

Login into Marketplace Go to SAP Support Infrastructure Tab. In that, you have option SAP trust Center Services.

Click that in that you can see SPRouter Certificate.I have attached the procedure for renewing the Router Certificate.
 
Regards,


Comments

  • 07 Aug 2009 6:41 am rashmi Best Answer
    First of all, take a Printout of the Document “Installing the sapcrypto library and starting the SAProuter” by Logging into the SAP Service Marketplace by going to the http://service.sap.com/saprouter-sncdoc through Internet Explorer

    A small screen will appear, Click on “OK”

    User Name : s0002761414
    Password :
    And Click “OK”

    Copy the Complete Text under Document “Installing the sapcrypto library and starting the SAProuter” into a Word Document and take a Printout for Ready Reference.

    Now, again,

    Login to the SAP Service Marketplace by going to the http://service.sap.com/saprouter-sncadd through Internet Explorer

    A small screen will appear, Click on “OK”

    User Name : s0002761414
    Password :
    And Click “OK”

    A new screen will appear, Click on “Apply Now !”
    Select the certificate : CN=sachin, OU=0000442811, OU=SAProuter, O=SAP, C=DE
    And Click “Continue”

    Now, in your PC (on which SAProuter is configured), go to the My Computer ? (C: ) ? “usr” folder ? “sap” folder ? “saprouter” folder
    And Rename the “local.pse” file as “local.pse.old1”

    Now, again, in your PC (on which SAProuter is configured), go to Run ? cmd ? and you will be on the Command Promp Screen as follows
    C:Documents and SettingsADMINISTRATOR1>

    Write as follows
    C:Documents and SettingsADMINISTRATOR1>cd.. (Press Enter)
    C:Documents and Settings>cd.. (Press Enter)

    OR

    C:Documents and SettingsADMINISTRATOR1>cd
    And you reach following
    C:>

    Write as follows
    C:>cd usrsap
    tintel (Press Enter)

    Write as follows which is Command No. 3
    C:usrsap
    tintel>sapgenpse get_pse -v -r certreq -p local.pse "CN=sachin, OU=0
    000442811, OU=SAProuter, O=SAP, C=DE"

    Got absolute PSE path "c:usrsapsaprouterlocal.pse".
    Please enter PIN: (you need to write it and Press Enter)
    Please reenter PIN: (you need to write it and Press Enter)
    Supplied distinguished name: "CN=sachin, OU=0000442811, OU=SAProuter, O=SAP, C=DE"
    Generating key (RSA, 1024-bits) ... succeeded.
    certificate creation... ok
    PSE update... ok
    PKRoot... ok
    Generating certificate request... ok.
    C:usrsap
    tintel>

    Now open a new Notepad File, in the File got to
    File ? Open ? (C: ) ? “usr” folder ? “sap” folder ? “ntintel” folder
    Files of type : All Files
    Select the File “ certreq” and Click “Open”
    Copy the Complete Text and Paste the same in the Box under the “Insert the Certificate Signing Request” shown in the SAP Service Marketplace (which you had open earlier after clicking “Apply Now!” and “Continue” above)
    Now, Click on “Request Certificate”

    A New Certificate in the Text Format will be shown on the SAP Service Marketplace Screen.
    Copy this Complete Text in a New Notepad File and Save it in
    C:usrsapsaprouter
    by the name “srcert.txt”
    It will ask for Replacing earlier file, say Yes.

    Now, this “srcert.txt” is to be Renamed as “srcert” by going to the Command Prompt and as follows
    C:usrsap
    tintel>cd
    C:>cd usrsapsaprouter
    C:usrsapsaprouter>ren srcert.txt srcert
    (and your File “srcert.txt” is Renamed as “srcert”)

    Now, Copy the “srcert” file from the “saprouter” folder and Paste it in the “ntintel” folder.

    Now, go to the Command Prompt and as follows
    C:usrsapsaprouter>cd
    C:>cd usrsap
    tintel (Press Enter)
    C:usrsap
    tintel> (Write Command No. 7 here as follows, which will Import the Certificate)
    C:usrsap
    tintel>sapgenpse import_own_cert -c srcert -p local.pse
    CA-Response successfully imported into PSE "c:usrsapsaprouterlocal.pse"

    C:usrsap
    tintel> (Write Command No. 8 here as follows)
    C:usrsap
    tintel>sapgenpse seclogin -p local.pse
    running seclogin with USER="ADMINISTRATOR1"

    Please enter PIN: (you need to write it and Press Enter)
    Added SSO-credentials for PSE "c:usrsapsaprouterlocal.pse"
    "CN=sachin, OU=0000442811, OU=SAProuter, O=SAP, C=DE"
    ( In the above command “sapgenpse seclogin -p local.pse –O ADMINISTRATOR1” could also be written or any Other User Name could bee given, which would have restricted the SAProuter to Function Only with that User Name Logged In as a User)

    Now, to Check if the Certificate has been imported correctly, use the Command No. 10 as follows
    C:usrsap
    tintel>sapgenpse get_my_name -v -n Issuer
    Opening PSE "c:usrsapsaprouterlocal.pse"...
    PSE open ok.
    ok.
    Retrieving my certificate... ok.
    Getting requested information... ok.
    SSO for USER "ADMINISTRATOR1"
    with PSE file "c:usrsapsaprouterlocal.pse"

    Issuer : CN=SAProuter CA, OU=SAProuter, O=SAP, C=DE
    (the above “Issuer” is same as given in the Command No. 10 of the Document “Installing the sapcrypto library and starting the SAProuter”)
    C:usrsap
    tintel>

    Now, the SAP Router Certificate has been Renewed and is OK for Use !!!
  • 01 Mar 2011 10:42 am rekha Helpful Answer
    check out this document

    SAP ROUTER
    Go to the Trust Center Service - Download Area and get
    the "Distinguished Name" for your SAProuter from the list of SAP
    router's registered for your installation.
    1.As user adm set the environment System variables
    SECUDIR =

    SECUDIR = C:USRSAPSAPROUTER
    SNC_LIB = C:USRSAPSAPROUTERSAPCRYPTO.DLL
    2. Alternatively use the two commands:
    sapgenpse get_pse -v -noreq -p local.pse ""
    eg--> sapgenpse get_pse -v -noreq -p local.pse "CN=HOSTNAME,
    OU=0000XXXXXX, OU=SAProuter, O=SAP, C=DE"
    sapgenpse get_pse -v -onlyreq -r certreq -p local.pse
    3. Display the output file "certreq" and with copy & paste insert
    the certificate request into the text area of the same form on
    service.sap.com/TCS from which you copied the Distinguished Name
    4. In response you will receive the certificate signed by the CA
    in the Service Marketplace, copy & paste the text to a local file named
    srcert
    5. With this in turn you can install the certificate in your
    saprouter by calling
    sapgenpse import_own_cert -c srcert -p local.pse
    6. now you will have to create the credentials for the SAProuter
    with the same program (if you omit -O , the credentials are
    created for the logged in user account)
    sapgenpse seclogin -p local.pse
    7. This will create a file called cred_v2 in the same directory.
    8. Check if the certificate has been imported correctly
    sapgenpse get_my_name -v -n Issuer
    The name of the Issuer should be:
    CN=SAProuter CA, OU=SAProuter, O=SAP, C=DE

    If this is not the case, delete the files cred_v2, local.pse and start
    over at Item 4. If the output still does not match please open a
    customer message in component XX-SER-NET-OSS stating the actions you
    have taken so far and the output of the commands

    Few additional commands
    sapgenpse get_my_name -v -n validity (for checking validity of SAProuter)
    saprouter -r -V3 -T log (for detailed error log)
    SAMPLE OF SAPROUTETAB FILE
    *****************---**************
    # 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" 192.168.0.122 3200
    # 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" prdsrvr 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" prdsrvr 23

    # SNC-connection from SAP to local R/3-System for Support
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.0.121 3200
    # 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" d-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" devsrvr 23

    # SNC-connection from SAP to local R/3-System for Support
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.0.127 3200
    # 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" tstsrvr 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" tstsrvr 23
    # Access from the local Network to SAPNet - R/3 Frontend (OSS)
    P * 194.39.131.34 3299
    # deny all other connections
    D * * *
  • 17 Nov 2010 10:24 pm Guest
    Excusme, Which is the PIN that I must provide??

    I have this problem:

    C:usrsapsaprouter
    tintel>sapgenpse import_own_cert -c srcert -p local.pse
    import_own_cert: Couldn't open PSE "C:usrsapsaprouterlocal.pse"
    ERROR in af_open: (1824/0x0720) Wrong PIN for PSE : "C:usrsapsaprouterlocal.
    pse"
    ERROR in secsw_open: (1824/0x0720) Wrong PIN for PSE : "C:usrsapsaprouterloc
    al.pse"
    ERROR in sec_parse_PSEInfo_cont: (1824/0x0720) Wrong PIN for PSE : "C:usrsaps
    aprouterlocal.pse"

×