Issue with bcrpov, bcpkix dependency when migrating from 6.2.1R1 to 6.3.0R2.

Solution Verified - Updated -

Issue

  • We are using bcprov-jdk15on , bcpkix-jdk15on version 1.47 for our applications and this two jars are embedded to the a bundles. We could not use higher version because the bundle is not working using higher version.
Caused by: java.lang.VerifyError: (class: org/bouncycastle/openssl/PEMReader$EncryptedPrivateKeyParser, method: parseObject signature: (Lorg/bouncycastle/util/io/pem/PemObject;)Ljava/lang/Object;) Incompatible argument to function
        at org.bouncycastle.openssl.PEMReader.<init>(Unknown Source)
        at org.bouncycastle.openssl.PEMReader.<init>(Unknown Source)
        at org.bouncycastle.openssl.PEMReader.<init>(Unknown Source)

Environment

  • Red Hat JBoss Fuse
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content