IBM Support

IV94326: ISSUES WITH STRICT DER ENCODING CHECKS

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: An error message is reported when using
    certificates that contain DER encodings which are not encoded in
    the shortest form possible.  The following error message is
    reported:
    An IO Exception has occurred:
    java.io.IOException: Invalid encoding: redundant leading 0s
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • An error message is reported when using certificates that
    contain DER encodings which are not encoded in the shortest form
    possible.
    

Problem conclusion

  • The JVM has been updated to recognize a
    com.ibm.security.EnforceStrictDER system property to disable
    some of the strict DER encoding checks.  Strict DER checking is
    performed unless the system property is set to the value false.
    Sample invocation to disable strict DER checking:
    java -Dcom.ibm.security.EnforceStrictDER=false ...
    The associated Hursley RTC Problem Report is 125563
    The associated Austin CMVC defect is 117614
    JVMs affected: Java 8.0.4.1, Java 7.1.4.1, Java 7.0.10.1, Java
    6.1.8.41, Java 6.0.16.41
    The affected jar is "ibmpkcs.jar".
    The build level of this jar for the affected releases is
    "20170316"
    .
    This APAR will be fixed in the following Java Releases:
       8    SR4 FP5   (8.0.4.5)
       6 R1 SR8 FP45  (6.1.8.45)
       7 R1 SR4 FP5   (7.1.4.5)
       7    SR10 FP5  (7.0.10.5)
       6    SR16 FP45 (6.0.16.45)
    .
    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

    IV94326

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-16

  • Closed date

    2017-04-17

  • Last modified date

    2017-04-17

  • 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

  • R270 PSY

       UP

  • R260 PSY

       UP

  • R600 PSY

       UP

[{"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