Product: TIBCO Spotfire®
Error "Alias name does not identify a key entry"
HTTPS might not work if an incorrect certificate key alias name is mentioned in the server configuration. The catalina.log file will show the following error.
Caused by: java.lang.IllegalArgumentException: Alias name[certificate_alias_name] does not identify a key entry.
Caused by: java.io.IOException: Alias name[certificate_alias_name] does not identify a key entry.
The error stack trace is attached in the screenshot. If HTTPS is not working and the above error is seen in the catalina.log file, this means the "certificateKeyAlias" value in the server.xml file is not correct. This value must be changed and the correct "certificateKeyAlias" value must be entered. The "certificateKeyAlias" parameter is the alias for the server certificate and private key.
Note: The "certificateKeyAlias" parameter should be set if the keystore contains more certificates than the server certificate. Otherwise, this value is not needed and the "certificateKeyAlias" parameter can be deleted or commented.