Showing results for 
Search instead for 
Did you mean: 

SAPRouter Certification renew fail.getting error while generating new Cert

Former Member
0 Kudos


I m working in SAP BASIS support project.

Our SAP router certification expired.

Now i m trying to renew the Router Certificate to get connection with SAP.

The fallowing steps i am doing ...

Taken backup of SAPROUTER folder ie: c:\SAPROUTER\

i have deteted the files local.pse, Cert_V2, srcert.txt and certreq from c:\SAPROUTER\

Step 1:

In the SAP Router PC, given the sapgenpse command from SAPROUTER path

C:\SAPROUTER>sapgenpse get_pse -v -r certreq -p local.pse "CN=SAP1, OU=0000809334, OU=SAProuter, O=SAP, C=DE"

Got absolute PSE path "C:\SAPROUTER\local.pse".

Please enter PIN:

Please reenter PIN:

Supplied distinguished name: "CN=SAP1, OU=0000809334,

OU=SAProuter, O=SAP, C=DE


Generating key (RSA, 1024-bits) ... succeeded.

certificate creation... ok

PSE update... ok

PKRoot... ok

Generating certificate request... ok.

STEP 2 :

opened :



-> Pasted the content of certreq file frm c:\SAPROUTER\ in the box and clicked ->Request Certificate

Now copied the Generated file contents in a new txt file srcert.txt and saven in C:\SAPROUTER\

STEP 3 :

Now in the SAPROUTER PC, when i run import_own_cert fallowing error coming.

C:\SAPROUTER>sapgenpse import_own_cert -c srcert -p local.pse

Please enter PIN:

import_own_cert: Installation of certificate failed

ERROR in ssf_install_CA_response: (1281/0x0501)

aux_file2OctetString failed : "No such file or directory"

ERROR in ssf_read_certs_from_file: (1281/0x0501)

aux_file2OctetString failed : " No such file or directory"

ERROR in aux_file2OctetString: (1281/0x0501)

stat("srcert") returned : "No such file or directory"

Plz clear my doubt, why this above error coming , even the file is saved srcert.txt in c:\SAPROUTER\ folder with the contents i got from

I m doing this 1st time.

Please tell me , if i m doing any wrong steps..

Thanks in advance,


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos


Please follow your statements where you have created the certificate file by the name of .txt extention

"" Now copied the Generated file contents in a new txt file *srcert.txt* and saven in C:\SAPROUTER\ ""

Please re-create this file without the extention then issue the next command statements

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


Anwer Waseem


Former Member
0 Kudos

Hi Vasu,

Try C:\SAPROUTER>sapgenpse import_own_cert -c srcert.txt -p local.pse

Hope this will resolve your problem.