IBM Support

IV78250: "SHA-256 SIGNATURE NOT AVAILABLE" IN SOLARIS

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, as reported by customer:
    When signing certificate with signature algorithm name
    "SHA256withRSA" using keytool on Solaris, An exception
    "java.security.NoSuchAlgorithmException: SHA-256 Signature not
    available" is seen. The same command works fine on Windows and
    Linux.
    
    Stack Trace, if applicable:
    keytool error: java.security.NoSuchAlgorithmException: SHA-256
    Signature not available
    java.security.NoSuchAlgorithmException: SHA-256 Signature not
    available
            at
    java.security.Signature.getInstance(Signature.java:229)
            at sun.security.pkcs10.PKCS10.<init>(PKCS10.java:170)
            at
    sun.security.tools.keytool.Main.doGenCert(Main.java:1209)
            at
    sun.security.tools.keytool.Main.doCommands(Main.java:1090)
            at sun.security.tools.keytool.Main.run(Main.java:340)
            at sun.security.tools.keytool.Main.main(Main.java:333)
    
    Other Error Information, as reported by customer:
    N/A
    

Local fix

  • N/A
    

Problem summary

  • "SHA-256 Signature not available" seen in Solaris
    
    
    ERROR DESCRIPTION:
    
    When signing certificate with signature algorithm name
    "SHA256withRSA" using keytool on Solaris, An exception
    "java.security.NoSuchAlgorithmException: SHA-256 Signature not
    available" is seen. The same command works fine on Windows and
    Linux.
    

Problem conclusion

  • Problem is caused by incorrect mapping between Signature
    algorithm name and OID. The fix is to remove incorrect OID alias
     while registering Signature service
    
    The associated Austin CMVC defect is 117027
    The associated RTC PR is 102142
    The associated APAR is IV78250
    
    JVMs affected : Java 6.0, Java 6.1, Java 7.0 , Java 7.1 and Java
    8.0
    
    The fix was delivered for Java 6.0 SR16 FP30, Java 6.1 SR8 FP30,
    Java 7.0 SR9 FP30, Java 7.1 SR3 FP30 and Java 8.0 SR2 FP10
    
    The affected jar is "ibmjceprovider.jar".
    
    The build level of this jar for the affected releases is
    "20151104"
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV78250

  • Reported component name

    TIV JAVA CRYPTO

  • Reported component ID

    TIVSECJCE

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-10-21

  • Closed date

    2015-11-20

  • Last modified date

    2015-11-20

  • 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

    TIV JAVA CRYPTO

  • Fixed component ID

    TIVSECJCE

Applicable component levels

  • R100 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCZL42","label":"JCE"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"100","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 November 2015