Fuse 7 on Karaf: Could not initialize class org.bouncycastle.cms.CMSSignedData

Solution Verified - Updated -

Issue

When initializing an application that uses the BouncyCastle APIs directly, Karaf is unable to load specific BouncyCastle implementation classes, such as CMSSignedData.

Environment

  • Red Hat Fuse
    • 7.10
    • Karaf

Fuse 6.3 is probably not affected. Most likely other Fuse 7 versions before 7.11.1 are affected. Fuse 7 on EAP or Spring Boot is probably not affected.

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