cancel
Showing results for 
Search instead for 
Did you mean: 

Error in PGP Decryption

Former Member
0 Kudos

Hi Experts,

         we are doing File(NFS) to File(NFS) Scenario with using of PGP decryption Module. here we have placed encryption File in Source directory. in communication channel we maintain custmer Adpter module. we we run the scenario first that custmer adapter module is called to decryt the file then call the standard call adpter module. while calling the  PGP Decryption Module we are geting error like

MP: exception caught with cause com.infosys.is.pi.pgp.decryptverify.PGPModuleException: Passphrase.xml File is not available at Location Specified in the Channel.  we have checked with Basis team regarding this weather the passphrase.xml file is there that location which we have maintain in communication channel everthing is fine but we are getting exception. could you please help on this.

Regards,

Swathika.

Accepted Solutions (0)

Answers (2)

Answers (2)

Shabarish_Nair
Active Contributor
0 Kudos

the location where you have placed the key files, make sure the user <SID>adm has the the required rights and access to it.

Former Member
0 Kudos

Hi Shabarish,

The access for the keystore location has been provided too.

Former Member
0 Kudos

In the Decryption custom adapter module is there any link to the Keystore location. I mean in the code of Decryption module.

Former Member
0 Kudos

Hi,

>>is there any link to the Keystore location. I mean in the code of Decryption module.

Yes, because ur passpharse xml file only contains the keys name but to get those keys

from keystore u need to pass the location (where u have kept the keystore) along with the keystore name.

>>MP: exception caught with cause com.infosys.is.pi.pgp.decryptverify.PGPModuleException

by looking ur desciption it seems that u r using DIDSOFT libraries to do encryption/decryption of the files.....i am guessing the code functionality because i have developed this PGP module few years back in the same org in which u r currently working.

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi Amit,

Recently BASIS team has changed the Keystore location and the Nodes.

That's y we are facing this issue.

We are unable to hard code the Custom module of Encryption and decryption.So we are not able to change the values in the module.

Can u pls explain us the process flow of both the modules?

Regards,

Swathika.

Former Member
0 Kudos

Hi,

What do u mean by nodes?? If u have changed the node names in the passphrase xml file then the same has to be changed in the module code also (if i can recall it correctly).

Its very tough to recall the excat code functionality....what i can suggest u is extract the code and then check the functionality.

Thanks

Amit Srivastava

former_member184681
Active Contributor
0 Kudos

Hi Swathika,

Your error mentions a Passphrase.xml (with a capital P at the beginning), while later on you say that the passphrase.xml (all lower-case letters) file is there in the required location. I'm not 100% sure about that, but file name here could be case-sensitive, so you might have to adjust the names between config and the real file.

Regards,

Greg

Former Member
0 Kudos

Hi ,

Passphrase.xml is not source file. That file contains private key details. When we run the scenario in the module tab the PGP Module will call and it checks the keystore location. In keystore location we maintain this file.

Regards,

Swathika.

former_member184681
Active Contributor
0 Kudos

>>> Passphrase.xml is not source file. That file contains private key details

Sure, still you should make sure the file name in configuration and in the network location is exactly the same (case-sensitive-the same ).

Regards,

Greg

Former Member
0 Kudos

File names are same.Checked it.