Skip to Content
avatar image
Former Member

SAP PI - PGP Encryption Module: No private key with signing capability found in...

I configured the PGP module in a File type adapter in the SAP PI environment according to the SAP documentation: Configuring the Encryption PGP Module. However, the following error is occurring: "PGP Encryption Module: No private key with signing capability found in E:\usr\sap\PID\J71\sec\private_key.p12." (MessageLog.jpg;

CC_FILE_ADAPTER.jpg).

Note: The private key was exported using "sapgenpse" using the following command: "Sapgenpse export_p12 -p <certificate>.pse -z password <private_key>.p12"

I would like to know what may be wrong with the private key and how to solve it?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jun 12, 2017 at 04:25 PM

    Rogerio,

    The .p12 key which you generate is not a PGP key pair its a SSH key pair which is used for authentication.

    I don't think you can use sapgenpse to generate PGP key pair , i usually use Gnupg (https://www.gnupg.org/) tool to generate PGP key pair.

    or there are many free online websites which helps you to generate PGP key pair you can use those too.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Manoj,

      I've been researching and have come to the conclusion that to sign a file in the PKCS#7 standard and convert to BASE64 I will have to develop a Java Mapping or an AFM.

      Thank you!

      Br.

      Rogério Coimbra.