PTA - Error While Importing PTA Server Certificate - String Index Out of Range: 0
87
Created On 11/10/26 11:04 AM - Last Modified 11/10/26 12:59 PM
Question
What does the error below mean when someone tries to replace a PTA server certificte?
Unexpected error. See /opt/tomcat/prepwiz/logs/prepwiz.log for more details.
An error occured while importing PTA server certificate. Command output: keytool error: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
Environment
14.6;15.0 Privilege Threat Analytics (PTA) PTA
Answer
Usually this means the certificate password has a special character in it and the importing utility is unable to parse the special character within the password.
Special character are characters like /,@,*, and &.
Removing the special character from the certificate password and retrying the certificate import will resolve the issue.