Thursday, September 23, 2021

Renewing SAPRouter Certificate...

 Check the saprouter validity date using the below command,


./sapgenpse get_my_name -n validity

If it expired follow the below steps to renew the saprouter certificate,

1. Take a backup & delete the following files from saprouter folder

    certreq
    cread_v2
    local.pse
    srcert

2. Create a file with name certreq

     Run the below command to generate new certificate request,

./sapgenpse get_pse -v -r certreq -p local.pse “<Distinguished Name>”

3. Go to the SAP Service marketplace & go to Router option using below link,

https://support.sap.com/en/tools/connectivity-tools/saprouter.html

Click on "Apply for a SAProuter certificate"

4. Select SAProuter Distinguished Name & Click on option "Submit CSR",

5. Copy the text from 'certreq1' & past in the window, Click on "Request Certificate",

6. Copy the new text got from the window,

    Create a file with name - srcert
    save the text to the 'srcert' file

7. Install the certificate by running the below command,

    ./sapgenpse import_own_cert -c srcert -p local.pse

8. Create the credentials for the SAProuter with below command,

   ./sapgenpse seclogin -p local.pse  -O <user>

9. Check the Certificate has been imported successfully using below command,

  ./sapgenpse get_my_name -n Issuer

10. verify the Validity Date using following command,

./sapgenpse get_my_name -n validity

No comments:

Post a Comment