on 07-08-2015 3:39 PM
Hello SFTP/PGP Experts,
Problem Statement: It is a SOAP to SFTP (with PGP encryption) Scenario, where PI needs to sign and encrypt the document and to be send to SFTP server.
Steps followed for configuration:
step 1) Followed the the document : Generating SSH Keys for SFTP Adapters - Type 2 - Process Integration - SCN Wiki for creation and configuration of keys.
Step 2) Copied the receiver's SFTP public key in .ssh folder in PI system and forwarded my public key to SFTP server team.
Step 3) Repeated step 1 to create another private key to be used for signing and created a new entry in the same view but selected the option of "Select key Pair" for signing and mentioned the previously created private key.
When I trigger the message, it fails in receiver adapter with error :: "No private key with signing capability found in '/home/x03adm/.ssh/emsapx03_rsa.key "
I tried by selecting both the private keys (I created as mentioned in above steps) in PGP configuration in Receiver SFTP Adapter.
Please see the adapter config screenshot below:
Expecting help soon!!
Thanks
Hi Gaurav,
Also, please find below sample format of encryption and signing:
pgp | applyEncryption | true |
pgp | applySignature | true |
pgp | ownPrivateKey | privatekey |
pgp | partnerPublicKey | partnerpublickey |
pgp | pwdOwnPrivateKey | ****** |
pgp | signingAlgo | SHA1 |
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there, did you ever find a solution to your problem?
If you used SXDA_TOOLS for uploading the key the encoding is changed and then creating this error!
I did the same and found out the only thing I did different was this. Trying to upload directly and then it works!
Br
Hi Gaurav,
From the screen shot you have shared, I can see the private key names are different in what you have maintained in the channel and in the error you are getting.
Key maintained: emsapx03_rsakey.key
Error you are getting : No private key with signing capability found in '/home/x03adm/.ssh/emsapx03_rsa.key
Can you cross check whether the key names are correctly maintained or not.
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gaurav,
'applySignature' is missing. It seems, 'ownPrivateKey' is not properly stored. 'keyRootPath' is not pointing to correct folder.
Please check
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghu,
Thanks for your response!!
I've already applied the 'applySignature' paramter, missed to add the screenshot of all module parameters as they were not visible in single screen.
And regarding the 'keyRootPath', with same path, the SFTP communication is working fine (without PGP). So, i guess, that should not be the case for this error. And if you see the William Lee's blog, in his config also, he maintained the keys in /tmp/pgp folder.
Still looking for the solution!!
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.