cancel
Showing results for 
Search instead for 
Did you mean: 

PGP encryption and Payload swap bean works different

Former Member
0 Kudos

Hi All,

I am getting one different error.  I am using the same channel for encrypting all files with same public and Private key.

It is working for only some files. When I compare the log I found some difference where I can see the order of the log. Here is the sample logs for both success and failure( not in PI getting error when Bank is trying to encrypt the file)

Bank Error:

Error

PGP Error, Bad Signature -

01/18/2016 7:29:07 PM

01/18/2016 7:29:07 PM

Decoding data....

Secret key is required to read it.

Key for user ID "Bank of America BA-CLEAR <dg.b2bsupportlevel2baclear@bankofamerica.com>"

signature not checked.

Signature made 2016/01/19 00:29 GMT

key does not meet validity threshold.

WARNING:  Because this public key is not certified with a trusted

signature, it is not known with high confidence that this public key

actually belongs to: "(KeyID: 0x2BF8C3E1)"



PI logs:


Failed log


Successful log:

Both files are going successfully to bank but from their end they are unable to decrypt ( error mentioned above).

Channel modules:

Below is the order of module.

Please Help me with the error. This is in Production I am little worried. Appreciate your quick reply!

Thanks,

Gayathri.

Accepted Solutions (0)

Answers (1)

Answers (1)

KarthikBangeraM
Active Participant
0 Kudos

Hi Gayathri,

Assuming that bank is facing this error while sending the data to you, just curious to know if you have provided your public certificate key chain (including intermediate certificates) to the bank and have they maintained the same in their TrustedCA keystore. The error suggests that they might not have performed this step.

Please check with them if it is the case.

Regards,

Karthik