Add self-signed certificate

After deploying the IntelliService, add the self-signed certificate to the local license server in the Master node. For more information on installing local license server on Linux, refer how to install HCL Local License Server on Linux.

To add the self-signed certificate, follow the steps below:

  1. In the master node, open linux terminal, and run the following commands to copy the certificate to the license server from the master node.
    kubectl cp <flexnetvm.crt> <licenseserver pod>:/usr/local/share/ca-certificates/<flexnetvm.crt>
  2. Use the following command to navigate to the license server pod.
    kubectl exec -it <licenseserver pod> /bin/sh 
  3. Change directory to /usr/local/share/ca-certificates check for any folders, if exist use the command to delete them.
    rm -rf lost+found
  4. To update the certificate in IntelliService license server pod, follow the command below.
    update-ca-certificates
    Note: In case, if the license server got restarted, run the second and fourth steps again.