on 01-13-2015 3:34 PM
Hi,
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
Thanks,
Harsh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ganesh. But we are not using the AEdaptive module for PGP.
I configured using the localejbs/PGPEncryption module
I dont see the need of SecretKeyRing parameter in the above tutorial.
Also, do I need to configure the localejbs/PGPDecryption module when sending files to the vendor?
Thanks,
Harsh
Hi Harsh,
You can maintain them in the same folder but are these having different names? Also try maintaining the path and key name parameter in the channel. That should ideally resolve the ambiguity the adapter is facing
Regards,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harsh,
By the look of it, seems like the path u have maintained for the secret key(private key) contains the public key. Please ensure you have the Basis folks maintain the correct key in the path u r referring to in the channel. Also ensure the names of the keys are correct at both places.
Regards,
Sriram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Sriram.
We are putting the files in the default location. We did not configure the keyRootPath parameter since it will take default if its not mentioned
Do you mean that Secret Key(Private Key) and Public Key should not be maintained in the same folder? If so, where do we maintain the public key then?
Thanks,
Harsh
User | Count |
---|---|
73 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.