Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to upload password secured PDF documents to Eform File



Error occurs while uploading password secured PDF documents using the PDF for Eform Wizard.

Error Messages

The Flow Action post-processing activity PopulateFileRule failed: java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable

Steps to Reproduce

Import a password protected PDF file using the PDF for Eform Wizard (navigate to Designer Studio > Integration > Tools >  PDF for Eform Wizard).

Root Cause

A third-party product issue.

The DEREncodable class definition was missing in the default bcprov-jdk15on-1.60.jar shipped with Pega 8.1 as it was removed from the current version of the BouncyCastle releases.
However, the platform cannot be shipped with the old bcprov-jdk14-138.jar which contains this class as it would prevent other features from working correctly.


Perform the following local-change: 
  1. Download the bcprov-jdk14-138.jar file.
  2. Import the file to Pega using Application > Distribution > Import wizard in the user's codeset.

Published March 28, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us