Unable to upload password secured PDF documents to Eform File
Error occurs while uploading password secured PDF documents using the PDF for Eform Wizard.
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).
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:
- Download the bcprov-jdk14-138.jar file.
- Import the file to Pega using Application > Distribution > Import wizard in the user's codeset.