IBM Support

IV35583: JCE AND JSSE SHOULD SUPPORT '#' IN KEYSTORE PATH

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: KeyTool cannot list an existing keystore when
    there is '#' in the keystore filepath.
    The following command
    keytool -list -keystore key#store.jck -storetype jceks
    -storepass <password> -alias test -dname
    "CN=DUMMY,OU=BROKER,O=RBS,L=Edinburgh,C=GB"
    fails with error message:
    keytool error: java.lang.Exception: Keystore file does not exist
    Similar problem also affects JSSE2's config parameter
    javax.net.ssl.keyStore and javax.net.ssl.trustStore.
    .
    Stack Trace: N/A
    .
    

Local fix

  • A workaround is to encode "#" as %23 in the command.
    

Problem summary

  • The problem is caused by incorrectly converting a local filepath
    to URL.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR5
    6.0.1 SR6
    6.0.0 SR14
    5.0.0 SR16FP1
    .
    Code has been changed to convert filepath with "#" to URL
    correctly.
    The affected jar is ibmjceprovider.jar (level 20130117) and
    ibmjsseprovider2.jar (level 20130115).
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV35583

  • Reported component name

    JAVA 5 SECURITY

  • Reported component ID

    620500125

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-21

  • Closed date

    2013-02-15

  • Last modified date

    2013-02-15

  • APAR is sysrouted FROM one or more of the following:

    IV35582

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA 5 SECURITY

  • Fixed component ID

    620500125

Applicable component levels

  • R500 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":"5.0","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020