My Oracle Support Banner

OIC FTP Adapter fails with java.io.IOException: org.bouncycastle.openpgp.PGPException: Can't find encryption key in key ring. (Doc ID 2514869.1)

Last updated on JANUARY 18, 2020

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.

Symptoms

The OIC FTP Adapter failed with errors when using PGP Encryption with a DSA Key Type :-

[2019-02-11T07:00:09.641+00:00] [<OIC_server_1>] [ERROR] [] [oracle.osb.transports.jca] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <User>] [ecid: <ECID>] [partition-name: DOMAIN] [tenant-name: GLOBAL] [oracle.soa.tracking.FlowId: <Flow ID>] [oracle.soa.tracking.InstanceId: <Instance ID>] [oracle.soa.tracking.SCAEntityId: <SCAEntityId>] [composite_name: <Project Name>!01.00.0000] [FlowId: <Flow ID>] servicebus:/oracleinternalics<Project Name>_01/Resources/resources/application_156/inbound_157/resourcegroup_158/<FTP Adapter Name>_REQUEST.wsdl [ <FTP Adapter Name>_REQUESTPortType::WriteFile(parameters,parameters) ] - Rolling back JCA LocalTransaction
[2019-02-11T07:00:17.891+00:00] [<OIC_server_1>] [ERROR] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <User>] [ecid: <ECID>] [partition-name: DOMAIN] [tenant-name: GLOBAL] [oracle.soa.tracking.FlowId: <Flow ID>] [oracle.soa.tracking.InstanceId: <Instance ID>] [oracle.soa.tracking.SCAEntityId: <SCAEntityId>] [composite_name: <Project Name>!01.00.0000] [FlowId: <Flow ID>] Exception in execute() method of PGPEncryptionValve class [[
Can't find encryption key in key ring.
]]
.
.
[2019-02-11T07:00:17.892+00:00] [<OIC_server_1>] [ERROR] [] [oracle.soa.adapter.ftp.outbound] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <User>] [ecid: <ECID>] [partition-name: DOMAIN] [tenant-name: GLOBAL] [oracle.soa.tracking.FlowId: <Flow ID>] [oracle.soa.tracking.InstanceId: <Instance ID>] [oracle.soa.tracking.SCAEntityId: <SCAEntityId>] [composite_name: <Project Name>!01.00.0000] [FlowId: <Flow ID>] [reference_name: oracleinternalics<Project Name>_01/<Service Name>] Error in pipeline[[
java.io.IOException: org.bouncycastle.openpgp.PGPException: Can't find encryption key in key ring.
at oracle.tip.adapter.cloud.PGPEncryptionValve.execute(PGPEncryptionValve.java:357)
at oracle.tip.pc.services.pipeline.PipelineImpl.execute(PipelineImpl.java:148)
at oracle.tip.adapter.file.outbound.FileSender.executePipeline(FileSender.java:1152)
at oracle.tip.adapter.file.outbound.FileSender.streamedSend(FileSender.java:1494)
at oracle.tip.adapter.file.outbound.FileSender.send(FileSender.java:578)
at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(FileInteraction.java:855)
at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:414)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:631)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:393)
at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:373)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:461)
at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.request(JCABindingReferenceImpl.java:358)
at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invoke(JCATransportOutboundOperationBindingServiceImpl.java:218)
at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendRequestResponse(JCATransportEndpoint.java:329)
.
.
.
Caused by: org.bouncycastle.openpgp.PGPException: Can't find encryption key in key ring.
at oracle.tip.adapter.cloud.PGPEncryptionValve.readPublicKey(PGPEncryptionValve.java:460)
at oracle.tip.adapter.cloud.PGPEncryptionValve.execute(PGPEncryptionValve.java:277)
... 99 more

]]

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.