IBM Support

IJ01901: IBMPKCS11IMPL - SECURERANDOM.SETSEED( ) EXCEPTION

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: If the underlying HSM does not support random
    number seeding, then an IBMPKCS11Impl SecureRandom.setSeed( )
    call will experience an exception which reports "Random number
    generator does not accept seeding".
    .
    Stack Trace: Caused by: com.ibm.pkcs11.PKCS11Exception: Random
    number generator does not accept seeding
    at com.ibm.pkcs11.nat.NativePKCS11Session.seedRandom(Native
    Method)
    at
    com.ibm.crypto.pkcs11impl.provider.Session.seedRandom(Session.ja
    va:259)
    at
    com.ibm.crypto.pkcs11impl.provider.SecureRandom.engineSetSeed(Se
    cureRandom.java:70)
    at
    java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:212)
    at java.security.SecureRandom.<init>(SecureRandom.java:201)
    at
    org.eclipse.osgi.framework.internal.core.UniversalUniqueIdentifi
    er.
    .
    

Local fix

Problem summary

  • If the underlying HSM does not support random number seeding,
    then an IBMPKCS11Impl SecureRandom.setSeed( ) call will
    experience an exception which reports "Random number generator
    does not accept seeding".
    

Problem conclusion

  • Unfortunately, most applications are not prepared to handle this
    exception.  Even if they were, there is no recovery action that
    the application could perform.  In deference to those
    applications, the IBMPKCS11Impl provider will absorb this
    exception. In other words, the IBMPKCS11Impl provider will not
    throw an exception if this failure occurs.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP10  (8.0.5.10)
       6 R1 SR8 FP60  (6.1.8.60)
       7    SR10 FP20 (7.0.10.20)
       7 R1 SR4 FP20  (7.1.4.20)
       6    SR16 FP60 (6.0.16.60)
    .
    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

    IJ01901

  • 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-11-14

  • Closed date

    2018-01-30

  • Last modified date

    2018-01-30

  • 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