Saving the certificate authority

You can save the certificate authority (CA) when you want to import the CA or extend the CA lists that are trusted by the applications.

Before you begin

You must have completed the following tasks:
  • Installed HCL DevOps Test Hub (Test Hub) on a Kubernetes or OpenShift environment.
  • Ensured that you have permissions to view the secrets that are created during installation of Test Hub on a Kubernetes or OpenShift environment.

Procedure

  1. Access the Kubernetes or OpenShift cluster where you installed Test Hub.
  2. Run the following command to save the CA in ca-master.crt file.
    kubectl get secret -n devops-system ingress -o "jsonpath={.data['ca\.crt']}" | base64 --decode > ca-master.crt
    Remember: devops-system is the name of the namespace. If you created a namespace by using a different value, then you must use that value in place of the devops-system.

Results

You have successfully saved the CA.

What to do next

You can perform the following tasks: