IBM Support

IJ21985: IBMJCE PROVIDER IS UNABLE TO BUILD A CERTIFICATE CHAIN WHEN A PKCS12 KEYSTORE HAS BOTH GOOD AND BAD INTERMEDIATE CERTIFICATES.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: IBMJCE provider is unable to build a certificate
    chain when a PKCS12 keystore has both good and bad Intermediate
    certificates.
    For example, a bad intermediate certificate could be because it
    is expired or a bad intermediate certificate's Subject
    Identifier attribute matches with issuer id attribute of a leaf
    certificate but there is a mismatch for the Authority Key
    Identifier attribute.
    .
    Stack Trace: N/A
    .
    Customer expects the IBMJCE provider to build a correct chained
    certificate with good intermediate certificate without deleting
    the bad Intermediate certificate from the keystore.
    The problem does not occur with Java 7.
    

Local fix

  • Delete the bad intermediate certificate(s) from the keystore.
    

Problem summary

  • IBMJCE provider unable to build a certificate chain when a
    PKCS12 keystore has both good and bad Intermediate certificates.
    

Problem conclusion

  • The JVM has been updated to build a correct certificate chain,
    when a PKCS12 keystore has both good and bad intermediate
    certificates.
    The associated Hursley RTC Problem Report is 142912
    The associated Austin GitHub task is issue48 for IBMJCE
    JVMs affected Java 8.0
    The fix was delivered for Java 8.0 SR6, FP5.
    The affected jar is "ibmjceprovider.jar"
    Customer APAR: IJ20539
    Austin Build:  20191213  (build-276)
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP5   (8.0.6.5)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ21985

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-01-08

  • Closed date

    2020-01-10

  • Last modified date

    2020-01-10

  • 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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"270","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020