Using a custom certificate (IBM Cloud Pak for AIOps on Linux)
Learn how to add a custom certificate to a deployment of IBM Cloud Pak® for AIOps on Linux®.
Procedure
If you want to use your own custom certificate for IBM Cloud Pak for AIOps instead of the default cluster certificate, then use the following steps after you have installed IBM Cloud Pak for AIOps on Linux.
-
Ensure that you have the following three PEM-encoded X.509 certificate files:
caintermediate.pem
: The intermediate certificate that issued your server certificate.aiops.pem
: An IBM Cloud Pak for AIOps certificate, which includes the two fully qualified domain names (FQDNs) foraiops-cpd
andcp-console-aiops
in the Subject Alternative Name (SAN) list.aiops.key.pem
: A key file for the signed certificate in aiops.pem
You can find the FQDNs for
aiops-cpd
andcp-console-aiops
with the following command:kubectl get ingress -n aiops
-
Concatenate the server and intermediate certificates into one file called
aiops-certificate-chain.pem
.cat aiops.pem caintermediate.pem > aiops-certificate-chain.pem
-
Update the system configuration with the new certificate.
aiopsctl server custom-certificate --certificate-file aiops-certificate-chain.pem --key-file aiops.key.pem