How to update certificate inside a keystore being used for authentication with REST Datasource?
book
Article ID: KB0072309
calendar_today
Updated On:
Products
Versions
TIBCO Data Virtualization
All supported versions
Description
Custom certificates may be needed while authenticating a REST endpoint URL while using the REST Data source in TDV. This certificate is imported in a Keystore which is in turn specified in the "Advanced" tab of the data source.
If the certificates present in the Keystore are expired, this will lead to a "PKIX Path Building Failed" error. A new certificate is needed which can then be used for successful authentication.
Issue/Introduction
This article describes the steps to update the keystore containing expired certificates that is currently being used by the REST Datasource.
Environment
All supported OS.
Resolution
To update the existing Keystore file with the new certificate, the below steps can be used: Pre-req: Take a Backup of the Keystore before making any changes.
(1) Find and locate where the existing Keystore that is referenced on the REST data source is located. (2) Perform a list on this data source using the below keytool command:
Note: If you cannot find the location where the keystore is located, you can export it from the Studio using the options provided and then follow the above steps. (for the password, try the default one 'changeit' if you do not know the password)