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.
- Download the following files from the Legion of the Bouncy Castle site, https://www.bouncycastle.org/java.html. Versions after 152 are probably OK, as well.
- 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.
- Restart your web server.
- 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.