My Oracle Support Banner

OIC API Management Error - CASDK-0005: A connector specific exception was raised by the application. java.lang.ClassCastException: org.bouncycastle.asn1.pkcs.PrivateKeyInfo (Doc ID 2785793.1)

Last updated on JUNE 21, 2021

Applies to:

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

Symptoms

OIC API Management Error - Failed to save API Gateway connection details
The customer has an API Gateway within OCI and trying to setup OIC to use it by following the documentation below but getting this error 
 

ERROR
-----------------------

ERROR - Failed to save API Gateway connection details. Please check the credentials. CASDK-0005: A connector specific exception was raised by the application. java.lang.ClassCastException: org.bouncycastle.asn1.pkcs.PrivateKeyInfo cannot be cast to org.bouncycastle.openssl.PEMKeyPair; org.bouncycastle.asn1.pkcs.PrivateKeyInfo cannot be cast to org.bouncycastle.openssl.PEMKeyPair

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
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.