IBM Support

PI17836: CWWKS4106E: LTPA CONFIGURATION ERROR WHEN SETTING KEYSPASSWORD IN THE SERVER.XML

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Ø
    Running WebSphere Application Server Liberty Core version
    8.5.5.2, when setting the keysPassword in the ltpa
    element in the server.xml with AES
    
    <ltpa
    keysFileName="${server.output.dir}/resources/security/ltpa.keys"
    keysPassword="{aes}ACwKKSNZmsIEqeR4lyWXK9Zr7oE3sWGjQzhorVPJnLwT"
    expiration="120"/>
    
    getting exceptions during server startup:
    
    com.ibm.ws.security.token.ltpa.internal.LTPAKeyInfoManager   1
    Error loading key; javax.crypto.BadPaddingException: Given
    final block not properly padded
    
    om.ibm.ws.security.token.ltpa.internal.LTPAConfigurationImpl >
    getKeyFile Entry
    
    om.ibm.ws.security.token.ltpa.internal.LTPAConfigurationImpl <
    getKeyFile Exit
    
    
    /opt/IBM/tivoli/impact/wlp/usr/servers/NCI/resources/security/lt
    pa.keys
    
    com.ibm.ws.security.token.ltpa.internal.LTPAKeyCreator       E
    CWWKS4106E: LTPA configuration error. Unable to create or read
    LTPA key file:
    /opt/IBM/tivoli/impact/wlp/usr/servers/NCI/resources/security/lt
    pa.keys
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: BadPaddingException occurs when LTPA    *
    *                      keys are configured to use AES          *
    *                      encryption.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    LTPA keys can be configured to use various encryption  protocols
    via the <ltpa/> element in the Liberty server.xml file. When the
    AES encryption protocol is used the customer could see
    BadPaddingException during server start up.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI17836

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-05-13

  • Closed date

    2014-09-26

  • Last modified date

    2014-09-26

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022