You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Connecting issues when the certificate is not trusted

When you cannot connect to some Data Sources in DataHub located on the HTTPS server because the certificate is not trusted, and the self-signed certificate is used to provide the HTTPS services, you need to trust the certificate first by installing it to the JRE that is used to run DataHub.


To install the certificate to the JRE


  1. Open the command prompt as an administrator.
  2. Go to the JRE security folder at <installation directory>\jre\lib\security.
  3. Copy the certificate file in the folder.
  4. Run the following keytool command

    ..\..\bin\keytool.exe -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias 'DNG_server' -file .\<cert_filename>

After that, DataHub can now be connected to using OAuth.