Installing custom SSL certificates
You can install custom SSL certificates to configure environment variables and to securely access the IBM® Db2® Intelligence Center container.
Before you begin
-
You must have your own SSL certificates, which include these files in PEM format:
- tls.crt: The SSL certificate file without the passphrase.
- tls.key: The corresponding private key for the certificate.
Note: The format of both the certificate and key must match. If the certificate is in any other format, convert it to PEM format. Make sure that the file name for the SSL certificate iscert.pem, and the file name for the SSL certificate key iskey.pem. File names are case-sensitive. -
You can create the certification folder by completing these steps:
- To create a folder, run
mkdir -p /mycerts. - Move or copy the SSL certificate files to the folder
/mycerts. - To storage mount, run
-v /mycerts:/opt/ibm/console/certs.
- To create a folder, run
About this task
Configure the environment variables for console credentials by creating a
.env_list file with the following format and adding the required values.
- Create a file named
.env_list. - Open the file for editing by using the following
command:
vi .env_list - Add the following values based on your needs:
LICENSE=accept ADMIN_NAME=admin ADMIN_PASSWORD=admin CONSOLE_HOSTNAME={eg: mydic.com}- CONSOLE_HOSTNAME specifies the console access hostname. The default is
null. - ADMIN_NAME specifies the username of the administrator. The default is
admin. - ADMIN_PASSWORD specifies the password of the administrator. The default is an auto-generated password (8 characters).
- CONSOLE_HOSTNAME specifies the console access hostname. The default is