cancel
Showing results for 
Search instead for 
Did you mean: 

Converting P12 to PSE and uploading in STRUST on ABAP

Former Member
0 Kudos

Hi Team,

We need some help from the experts.

We have a p.12 certificate of our PI/XI system from the Java stack which we need to convert to PSE and upload to strust on the ABAP side.

We are trying with sapgenpse but unable to convert from p12 to pse but unable to do so.

Is there any possibility of converting p12 to PSE and upload in strust? If yes, what command should we use to generate the same via sapgenpse?

Thanks

Rajeet

+41 76 525 0440

Accepted Solutions (0)

Answers (2)

Answers (2)

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi rajeet,

The command line syntax for 'sapgenpse' is shown also by running:

sapgenpse -h

sapgenpse <actual command> -h

For more into the error, please check:

508307 Trust Manager: Problems importing certificate responses

Regards,

hemanth

Former Member
0 Kudos

Hi Hemanth,

Thanks for your response. I tried converting a Pse to P12 it works but P12 to PSe is not working.

I am using the below command

sapgenpse import_p12 -p c:\misc\cert\Payment.p12 c:\misc\cert\Payment.pse

import_p12: ERROR -- stat(Payment) failed: No such file or directory

Is is the right way to convert.

I am checking the note you sent as well.

Thanks

Rajeet

Former Member
0 Kudos

Hi Rajeet,

Have you tried this ??

sapgenpse import_p12 -p c:\misc\cert\Payment.pse c:\misc\cert\Payment.p12

Cheers..,

Raghu

Former Member
0 Kudos

Hi Raghu,

I executed this, but got the same error.

The file Payment.p12 exists in the cert folder as well. Confused as to why we are getting this error.

Thanks again

Regards,

Rajeet

Former Member
0 Kudos

Hi Rajeet,

Can u try doing the conversion in the same directory where you have sapgenpse ??

Please let us know the result of that.

Cheers...,

Raghu

JPReyes
Active Contributor
0 Kudos

failed: No such file or directory

This error might not be refering to the file you called but to the command... add the path of the command to the env variables or call the command from the path where sapgenpse is located.

Regards

Juan

Former Member
0 Kudos

Hi All,

Thanks the issue was resolved. I set the evn variable & also moved the Certs and all the files related to sapgenpse under one folder.

Cheers.

Rajeet

JPReyes
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Juan,

I tried the link you mentioned but it did not help.

Currently, I have the p12 named Payment.p12 and its on my local dtive, I want to convert this to Payment.pse and then upload the same via strust

I am unable to do this with the import_p12 command, had tried earlier as well.

Can you help me here.

Thanks

Rajeet

JPReyes
Active Contributor
0 Kudos

Can you post the error you get when trying to convert the file?

regards

Juan

Former Member
0 Kudos

Hi Juan,

Below is the error I am getting

C:\Misc\ntintel>sapgenpse import_p12 -p c:\misc\cert\Payment.p12 c:\misc\cert\Payment.pse

import_p12: ERROR -- stat(Payment) failed: No such file or directory

I tried with quotes as well.

The file Payment.p12 do exist in my folder c:\misc\cert

Not sure why I am getting this error.

Thanks again for your help.

Rajeet