"Invalid keystore format" error while configuring HTTPS on TIBCO Spotfire Server

"Invalid keystore format" error while configuring HTTPS on TIBCO Spotfire Server

book

Article ID: KB0079140

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and higher

Description

After configuring HTTPS on the TIBCO Spotfire Server according to the Configuring HTTPS documentation reference, the HTTPS TIBCO Spotfire Server web URL fails to load and the following error is seen in the "catalina.log" file found in the <Spotfire_server_install_dir>\tomcat\logs\ folder:
Caused by: java.io.IOException: Invalid keystore format

Issue/Introduction

"Invalid keystore format" error while configuring HTTPS on TIBCO Spotfire Server

Resolution

This is caused by an invalid keystore file. Check the following general steps to resolve this issue:
  • This may be be an issue while generating the keystore. Try to regenerate the server certificateĀ by following the steps of keystore generation, raising a CSR (Certificate Signing Request), and importing the certificate.
  • Validate that the "certificateKeystoreFile" property in "server.xml" in <server installation>\tomcat\conf folder is pointing to the correct path and file.
  • Validate thatĀ the "keytool.exe" path being used while generating the certificate is correct

Additional Information

Doc: Configuring HTTPS