IBM Support

Receiving "JCE cannot authenticate the provider BC" error when installing or configuring Planning Analytics on Linux

Troubleshooting


Problem

Receiving "JCE cannot authenticate the provider BC" error when installing or configuring Planning Analytics on Linux. This error is most commonly seen when trying to save changes in the Cognos Configuration application. This is due to the JRE missing files that are needed for BouncyCastle, which is a security provider that normally comes packaged with the tool.

Resolving The Problem

There are a number of steps that can be attempted to resolve the issue:
1. Try to use the IBM JRE that is provided from our site: https://www.ibm.com/support/pages/java-sdk-downloads-version-80
2. Ensure your JAVA_HOME environment variable is set to the proper IBM JRE. The path might look similar to "JAVA_HOME=/opt/ibm/java-x86_64-80/jre". This requirement is outlined in the product documentation here: https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=web-install-configure-tm1-unix
3. Go to the following file within the JRE directory "jre\lib\security\java.security", and ensure the line "security.provider.10=org.bouncycastle.jce.provider.BouncyCastleProvider" is added.
4. Replace the JRE installed directly with one from another machine that is confirmed to work.
5. If the issue is only occurring with Cognos Configuration, you can avoid using this application at all and instead start the service directly. There is a list of scripts that can help to start their respective services in this documentation: https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=linux-use-scripts-start-tm1-server-unix

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCTEW","label":"IBM Planning Analytics Local"},"ARM Category":[{"code":"a8m0z000000blxdAAA","label":"How To"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Versions"}]

Document Information

Modified date:
31 October 2021

UID

ibm16510078