I am using bouncycastle dependencies for PGP Encryption. Exception in the error log:
To resolve following error, I did the following:1. Update Security provider in java.security file.2. Add bcprov jar in jre/etc folder.
I tried updating the sling.properties but it did not resolve the issue.
Do we need to do same for Production and other lower environments? OR is there any other way?
You need to install the bouncy castle jar(already an OSGI bundle) in /system/console/bundles and update the sling.properties as on page
 PGP Encryption/Decryption in Java | Waiting for Wit
 AEM 6.0 Forms Help | Configuring Document Services