Support Article
Unable to upload password secured PDF documents to Eform File
SA-76069
Summary
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.
Resolution
Perform the following local-change:
- Download the bcprov-jdk14-138.jar file.
- Import the file to Pega using Application > Distribution > Import wizard in the user's codeset.
Published March 28, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.