IBM Support

IJ05530: PKCS THROWS A PKCSEXCEPTION IN IBM SDK 8

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: Could not obtain the algorithm for SHA-512/RSA
    .
    Stack Trace: com.ibm.security.pkcsutil.PKCSException: Could not
    obtain the algorithm for SHA-512/RSA
            at
    com.ibm.security.pkcs7.SignerInfo.verify(SignerInfo.java:1342)
            at
    com.ibm.security.pkcs7.SignerInfo.verify(SignerInfo.java:1194)
            at
    com.ibm.security.pkcs7.SignerInfo.verify(SignerInfo.java:1170)
            at
    com.ibm.security.pkcs7.SignedData.verify(SignedData.java:1333)
            at
    com.ibm.security.pkcs7.SignedData.verify(SignedData.java:1248)
            at Pkcs7.main(Pkcs7.java:37)
    .
    The problem does not occur with IBM SDK 7.
    

Local fix

Problem summary

  • While converting Object Identifiers (OIDs) to algorithm names,
    the IBMPKCS module returned algorithm names that were not
    supported by IBMJCE and IBMJCEFIPS crypto providers.
    

Problem conclusion

  • The IBMJCE, IBMPKCS11Impl and IBMPKCS have been modified to
    return algorithm names that are compatible with IBMJCE.
    The associated Hursley RTC Problem Reports are 137729, 137776
    The associated Austin CMVC defects are  117830, 117839
    JVMs affected:  Java 8.0
    The fix was delivered for Java 8 SR5FP15
    The affected jars are ibmpkcs.jar, ibmjceprovider.jar and
    ibmpkcs11impl.jar
    The build level of this jar for the affected releases is
    20180410
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP15  (8.0.5.15)
    .
    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

    IJ05530

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-06

  • Closed date

    2018-05-10

  • Last modified date

    2018-05-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