IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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 SR4 FP1
    6.0.1 SR5 FP1
    6.0.0 SR13 FP1
    5.0.0 SR16 FP1
    .
    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

    IV35582

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    260

  • 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-28

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

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

    IV35583

Fix information

  • Fixed component name

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

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

Document Information

Modified date:
07 December 2020