IBM Support

IV78632: '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: 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: 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)
    .
    

Local fix

Problem summary

  • Problem is caused by incorrect mapping between Signature
    algorithm name and OID
    

Problem conclusion

  • 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 FP20, Java 6.1 SR8 FP20,
    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"
    .
    This APAR will be fixed in the following Java Releases:
       8    SR2 FP10  (8.0.2.10)
       7 R1 SR3 FP30  (7.1.3.30)
       7    SR9 FP30  (7.0.9.30)
       6 R1 SR8 FP20  (6.1.8.20)
       6    SR16 FP20 (6.0.16.20)
    .
    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

    IV78632

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-11-05

  • Closed date

    2015-11-20

  • Last modified date

    2015-12-01

  • 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