Skip to main content
Skip table of contents

Index encrypted or protected PDFs for full-text search

Affects versions 16.1 and newer.

You may notice some PDFs added to a repository cannot be found in full-text search results, even though downloading them and viewing them works correctly. When this happens, you will find iGrafx Platform log entries like

This is likely an encrypted PDF. Non-password-protected encrypted PDFs can be indexed if you add the Bouncy Castle libraries pcprov-jdk15on-1.52.jar, bcpkix-jdk15on-152.jar and bcmail-jdk15on-1.52.jar to your server classpath.

These PDFs are encrypted (but not password-protected) because they have been flagged as non-printable or are protected in some other way. For legal reasons, iGrafx does not ship with the decryption libraries needed to read such files. Your administrator can download the needed libraries and manually install them in your web server's classpath to enable full-text indexing of these files.

Step-by-step guide

  1. Download the following files from the Legion of the Bouncy Castle site, Versions after 152 are probably OK, as well.
    • bcprov-jdk15on-152.jar
    • bcpkix-jdk15on-152.jar
    • bcmail-jdk15on-152.jar
  2. Place these jar files in a folder that is in your web server's classpath. This varies by server and version. For Apache Tomcat 7, CATALINA_HOME/lib is a good place.
  3. Restart your web server.
  4. Depending on what else needs to be indexed, it may be 30 seconds to several minutes before the encrypted PDFs start showing up in full-text search.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.