Skip to Content

SFTP PGP - Module - Supported key file types?

cusersgeorge-applegatedesktoppgp-sftp.pngI've created pgp keys using gpg.exe and written out a public and private, sent the public to the 3rd party and understand I need to put the private key on the PI server in

usr/sap/<System ID>/<Instance ID>/sec

but what key files are supported in this directory (as per image) ? ASC files as per gpg's output or do I need to convert them to some other extension to be PI compatible or should I import them into nwa as a p12?
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 26, 2017 at 05:29 AM

    George,

    The extension really doesn't matter , i usually use the ASC format directly and configure the same in channel.

    PGP keys are not supposed to be imported in NWA , you need to place then in one of the folder in OS level or you can keep them in B2B Cockpit if u have .

    Additionally to that your PGP decryption should be first in the sequence for more details :

    https://blogs.sap.com/2012/04/10/pgpencryption-module-how-to-guide/

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 26, 2017 at 06:45 AM

    HI Geroge,

    Please go through the below link which contains all the details about PGP encryption.

    https://help.sap.com/saphelp_nw-secure-connect102/helpdata/en/8b/11483856d04f6b9c7bf378ecd1670c/content.htm

    Thanks,

    Pavan T

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26, 2017 at 08:50 AM

    Hi George,

    As Manoj said - PGPDecryption should call before call SAP Adapter and .ascextension should work well.

    But, I doubt pgp key supports .txt extension. I can see .txt extension for the keys you have configured in your CC module parameter.

    Thanks,
    Apu

    Add comment
    10|10000 characters needed characters exceeded