NetScaler shows an error stating "String length exceeds maximum [passplain, 31]"

NetScaler shows an error stating "String length exceeds maximum [passplain, 31]"

book

Article ID: CTX693274

calendar_today

Updated On:

Description

When trying to update an existing certificate file with a new certificate file, upon clicking 'Ok', you see the following error appear:

"String length exceeds maximum [passplain, 31]"

The attempt to save the changes made fail because of the error which appears.

Resolution

To avoid this error appearing, be sure to manually re-enter the password for the certificate file.


Problem Cause

Any pre-existing password is saved in an encrypted format in the configuration and becomes pre-populated on the 'Update Certificate' screen. This results in the pre-populated password being the encrypted version, which needs to be deleted and for the plaintext password entered instead.