DAP - Master missing root CA key during seedfile generation

DAP - Master missing root CA key during seedfile generation

111
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:01 PM


Symptom


The DAP Master contains the following error in the server logs (Docker logs) during Seedfile generation:

Evoke::CertStore::NoRootKeyError - root key not present


Environment


11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;20.7;21.1 DAP v11 and higher

Cause


This error is an indication that the seed generation service is attempting to create a new certificate for the Follower to use for database replication and audit forwarding, however the key that corresponds to the root CA for DAP is not present on the Master. So it is unable to issue a certificate automatically.

This can be verified by executing the following command on the DAP Master:

docker exec <dap-container-name> ls -la /opt/conjur/etc/ssl

The output of this command should include ca.pem, but not ca.key. This is normal and expected when using 3rd party certificates with DAP, but it does also require the OpenShift Follower certificate to be issued by the same 3rd party CA and to be imported into the DAP Master before attempting to generate a seed file for the Follower.



Resolution


First issue a certificate for the Follower that adheres to the certificate requirements in our docs: https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/Latest/en/Content/Deployment/HighAvailability/certificate-requirements.htm

The one difference for an OpenShift Follower is that the Common Name (CN) for the certificate should be the service DNS name of the Follower in k8s. It will likely have the form:

$FOLLOWER_HOSTNAME.$MY_POD_NAMESPACE.svc.cluster.local

Once there is a certificate and key for the Follower, next import these into the DAP Master as described in our docs: https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/Latest/en/Content/Deployment/HighAvailability/master-cluster-setup.htm#Import2

For example:

docker exec <dap-container-name> evoke ca import \
--key conjur-follower.conjur-lab.svc.cluster.local.key.pem \
conjur-follower.conjur-lab.svc.cluster.local.cert.pem

After the certificate is imported, the seed generation service returns this certificate to the OpenShift Follower in the seed file, rather than trying to generate a new certificate.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001CgkCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail