Skip to Content
Jan 13, 2015 at 03:34 PM

SFTP Receiver channel - PGPSecretKeyRing expected



We are trying to send files to an external SFTP server. The requirement is to sign the files using the PGP module before sending it and encryption is optional

Below are the parameters I configured in the PGP module

applyEncryption - false

applySignature - true

signingAlgo- MD5

partnerPublicKey - xxxx.asc (This is the public key we got from the SFTP server side)

ownPrivateKey - xxxxx.ppk (We generated this key using Putty and gave a pass phase)

pwdOwnPrivateKey - xxx (Used the above pass phrase here)

Both the Key files are copied into the default folder usr/sap/<System ID>/<Instance ID>/sec.

When we tested it we got the below error message

"Exception caught by adapter framework: Error reading private keyring. org.bouncycastle.openpgp.PGPPublicKeyRing found where PGPSecretKeyRing expected"

Could you please help me on this?. Let me know if I missed anything in the module config