APAR status
Closed as program error.
Error description
Error Message: After updating the IBM JRE, we are hitting Exception in thread "main" java.security.UnrecoverableKeyException: PrivateKeyInfo parsing error. This error is generated from a java program reading a JKS keystore while specifying the keystore type as JCEKS. . Stack Trace: Exception in thread "main" java.security.UnrecoverableKeyException: PrivateKeyInfo parsing error. at com.ibm.crypto.provider.I.a(Unknown Source) at com.ibm.crypto.provider.JceKeyStore.engineGetKey(Unknown Source) at java.security.KeyStore.getKey(KeyStore.java:1038) . The issue was found in Java 8 SR8 FP40. Previously, when reading a private key from JKS keystore while specifying keystore as JCEKS worked. We are restoring this behavior for compatibility reasons.
Local fix
Use Keystore.getInstance("JKS); for JKS keystore instead of Keystore.getInstance("JCEKS);.
Problem summary
Failed to read the private key from a JKS keystore because the keystore type was incorrectly classified as JCEKS when reading from the keystore.
Problem conclusion
The issue was found in Java 8 SR8 FP40. Previously, when reading a private key from JKS keystore, specifying keystore as JCEKS worked. We are restoring this behavior for compatibility reasons. . This APAR will be fixed in the following Releases: . IBM Semeru Runtimes IBM SDK, Java Technology Edition 8 SR8 FP45 (8.0.8.45) . Downloads and supplementary documentation can be found at the following locations: - For non z/OS operating systems: - IBM Semeru Runtimes, Version 11 and later https://www.ibm.com/semeru-runtimes/downloads/ - IBM SDK, Java Technology Edition, Version 8 https://www.ibm.com/support/pages/java-sdk-downloads/ - For the z/OS operating system: - Java SDK Products on z/OS https://www.ibm.com/support/pages/java-sdk-products-zos
Temporary fix
Comments
APAR Information
APAR number
IJ54206
Reported component name
SECURITY
Reported component ID
620700125
Reported release
270
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2025-04-04
Closed date
2025-04-04
Last modified date
2025-04-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
SECURITY
Fixed component ID
620700125
Applicable component levels
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"270","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
04 April 2025