1. Stop the running SAP Router

    by issuing the following command: saprouter -s

    or

    Untitled

    Untitled

  2. Backup and Delete the below mentioned four files from SAP Router directory Ex: c:\saprouter

    cred_v2, srcert, certreq, local.pse

    Untitled

  3. Generate the Local Certificate Request with the below command (execute it after navigating to the router directory in our case c:\saprouter)

    sapgenpse get_pse -v -r certreq -p local.pse "CN=, OU=, OU=, O=, C="

    <aside> 💡 if you are using the new crypto Library @256 bit of encryptation sapgenpse get_pse -v -a sha256WithRsaEncryption -s 2048 -r certreq -p local.pse "Put Here your DN”

    </aside>

    Give the PIN as like:1234

  4. Now apply for Router Certificate

    Go to the SAProuter application and from the list of SAProuters registered to your installation, choose the relevant SAProuter.

    Untitled

  5. Import the Response Certificate is done by Coping the whole encrypted content generated at SMP and paste in a new file and name it as srcert and save it in SAP router folder.

  6. We will authenticate the User who will run the SAP Router by generating the Credentials file cred_v2 in sap router directory c:\saprouter using the below command

  7. Check the SAP Router Certificate whether it has been imported successfully or not by issuing the below command.

  8. Start the SAP Router by issuing the following command

  9. Finally check the Validity of SAP Router by issuing below command