cancel
Showing results for 
Search instead for 
Did you mean: 

PGP Encryption issue.

former_member213558
Active Participant
0 Kudos

Hi Experts.

I want to do only encrypt the file using PGP Encryption module, and the Client public key has been placed at usr/sap/<System ID>/<Instance ID>/sec.

and here i'm using file to  file scenario.   and i my sender Communication channel configured as mentioned below

and i'm getting an error at the same sender channel as mentioned below.



since i'm looking only for encryption please do help on this same.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

remove the apply signature paramter. You don't need this if you are just doing encryption.

former_member213558
Active Participant
0 Kudos

Hi hareesh .

Thanks for your quick replay..

i've done as you suggested.

Fyr.

and still i'm facing below error (Error: null) at sender channel. please suggest further.

sahithi_moparthi
Contributor
0 Kudos

Hi,

Mention the below paramter:

ModuleKey: 1

Parametr Name: keyRootPath

Parametre value:usr/sap/<System ID>/<Instance ID>/sec

Please let us know if issue still persists after setting the above parametre.

Former Member
0 Kudos

Hi,

If we are placing keys in default loc(usr/sap/<System ID>/<Instance ID>/sec) no need to provide path as an input parameter value to PGP Module.

@Ramesh :Add applyCompression  Zip parameters as above said in the link.Make sure public key is there in the default loc .If you want to put the key other than default path then provide that path as well as an input to module

Regards

Venkat

former_member213558
Active Participant
0 Kudos

Dear Venkat  & Sahithi.

Thanks for your reply.

I've maintained as you suggested, but still i'm facing same issue.


fyr.

configuration

Error.

please note. public key is there at mentioned path. but still i'm facing error (Error:null), please suggest further.

Thanks in advance.

sahithi_moparthi
Contributor
0 Kudos


Hi,

Please  mention only the below parametrs as per the screenshot.

JNDI Name: deployedAdapters/com.sap.aii.adapter.sftp.ra/shareable/com.sap.aii.adapter.sftp.ra

Let us know if you still face the issue.

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Ramesh,

Can you please remove the first module parameter which is applyCompression line in the channel and check the outcome.

Regards

former_member213558
Active Participant
0 Kudos

Hi Sahithi.

I've tried as you suggested but still i'm facing same issue

Error ;null.

please suggest further.

thanks in advance

former_member213558
Active Participant
0 Kudos

Hi Vishnu.

I've tried as you suggested but still i'm facing same issue

Error ;null.

please suggest further.

thanks in advance

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Ramesh,

Can you try stopping/starting the channel or creating a copy channel.

Also, if ping channel is available in your PI version, then can you please check it.

Try this and let me know the outcome.

Regards

former_member213558
Active Participant
0 Kudos

Hi Vishnu.

thanks for your reply.

ping channel is working file.

and as you suggested i've deleted the old channel created a new channel using copy object. then i've started the channel, still i'm facing the same issue.

thanks.

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Ramesh,

I am little bit confused when you said you are using encryption module in a sender channel? as we normally use encryption in a receiver channel and a decryption in a sender channel.

Can you please shed some light on this.

Regards

sahithi_moparthi
Contributor
0 Kudos

Hi Ramesh,

   As Suggested by Vishnu,You have to use these modules in receiver channel.Please try with the above configuration details.

former_member213558
Active Participant
0 Kudos

Hi Vishnu.

yes, you are right. I've done as you suggested, module has been configured in receiver communication channel.

but still i'm facing below error, please suggest further.

thanks.

sahithi_moparthi
Contributor
0 Kudos


HI,

Please check whether you have valid keys or not.

former_member213558
Active Participant
0 Kudos

Hi Sahithi.

Please suggest How do i check? or what do i follow further.

Thanks.

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Ramesh,

Can you please share your receiver channel config screen shot for better understanding of the error log.

Regards

former_member213558
Active Participant
0 Kudos

Hi Vishnu..

please find the configuration below

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Ramesh,

Can you please refer the below blog. I think the issue is due to JCE.

Regards

former_member213558
Active Participant
0 Kudos

Hi Sahithi.

I've done the changed as you suggested in receiver communication channel, and still we are facing an issue. please suggest further.

Configuration.

Error

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Ramesh,

Can you please refer the below blog. I think the issue is due to JCE.

B2B Adapters - Updating to JCE Unlimited Strength Jurisdiction Policy

Regards

former_member184720
Active Contributor
0 Kudos

There is a typo in your module configuration.

It's not ModuleProcessrExirBean.. it should be Exitbean i believe

former_member213558
Active Participant
0 Kudos

Hi Vishnu.

Thanks , it's working now after i followed by the link which you mentioned.

Regards.

pvishnuvardan_reddy
Active Contributor
0 Kudos

Hi Ramesh,

Glad to hear that your issue has resolved finally..

Can you please close this thread discussion which would help other SCN members who will be facing the same type of issue.

Regards

Answers (0)