Using a custom TLS certificate

When you install IBM® watsonx.datadeveloper version, a self-signed key and certificate are generated. All HTTPS clients, including web browsers might not trust the self-signed certificates. It is recommended to replace the self-signed certificate with your own certificate..

watsonx.data Developer edition

Before you begin

Install IBM watsonx.data developer version before adding your certificates.

About this task

Complete the following steps to add your TLS key and certificate:

Procedure

  1. Create a subdirectory folder external-tls in the ibm-lh-dev/localstorage/volumes/infra location.
  2. Name your certificate file as cert.crt and key file as cert.key.
  3. Place the .crt and .key files under the ibm-lh-dev/localstorage/volumes/infra/external-tls directory.
  4. Run the following command to restart the lhconsole-ui service:
    run ./start_service lhconsole-ui
    This command makes sure that all exposed ports, including the watsonx.data console serves the custom TLS certificate.