IBM Support

PKCS12 Certificate could not be loaded due to unsupported keysize

Troubleshooting


Problem

You run WebSphere Partner Gateway (WPG) and can not load a PKCS12. You get error message: Certificate could not be loaded due to unsupported keysize. Please refer to the documentation for further details. Error details : Error in loading the keystore: Private key decryption error: (java.lang.SecurityException: Unsupported keysize or algorithm parameters)

Symptom

Error message suggesting unsupported keysize

Cause

Java Policy

Resolving The Problem

The following site contains the new Java policy and you are advised to download the Java policy to resolve the problem.
https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?source=jcesdk&lang=en_US

Important Note: You must have an IBM userid and password to download the Java policy.

[{"Product":{"code":"SSDKKW","label":"WebSphere Partner Gateway Advanced Edition"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF033","label":"Windows"}],"Version":"6.1;6.1.0.1;6.1.0.2","Edition":"All Editions;Enterprise","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21389969