Setting up LDAPS
If you are using LDAPS, follow the appropriate steps below based on your installation method:
Podman Users
If you've used Podman for CCC installation:
Place the LDAPS certificate in the /home/ccc/ccc-certs directory. Ensure the certificate is in PEM format and contains both the public key and the certificate chain.
Open the podman-compose.yml file in your preferred text editor and modify the extra_hosts
section as shown below:
extra_hosts:
- "Hostname/DNS of LDAPs:IP address of LDAPs"
Start the CCC container by executing the following command:
sh start-ccc-server.sh
Import SSL certificate into the truststore by running the following command:
podman exec ccc bash -c 'ldaps --cert {certificate name} --keystore {CCC keystore password} --dbpass {CCC DB password}'
If your admin password contains one or more special characters, you need to add a backslash before every special character to ensure proper execution of the command.
Kubernetes/Helm/Azure Users
If you've used Kubernetes/Helm/Azure for CCC installation:
Put the LDAPS certificate in the /home/ccc/ccc-certs directory. Ensure the certificate is in PEM format with the public key and certificate chain.
Open the deployment.yaml file and modify the hostAliases
section, as shown below:
hostAliases:
- ip: "IP address of LDAPs"
hostnames:
- "hostname/DNS of LDAPs"
Run the following command to launch the CCC container:
sh start-ccc-server.sh
Import the SSL certificate into the truststore by executing the following command:
kubectl exec-- bash -c 'ldaps --cert {certificate name} --keystore {CCC keystore password} --dbpass {CCC DB password}'
If your admin password contains one or more special characters, you need to add a backslash before every special character to ensure proper execution of the command.