Appendix D. Red Hat Virtualization and SSL - cacerts

Posted on

When attempting to replace HTTPS certificates for the RHVM Adminstration Portal, as outlined here , the following error appears on the management console website, and you cannot login to the system: PKIX path building failed: unable to find valid certification path to requested target

I tracked the issue down to the ovirt-engine's java cacert did not have my certificate in the keystore. I fixed this by issuing:

keytool -trustcacerts -keystore /etc/pki/java/cacerts -importcert -alias ALIAS -file /etc/pki/ovirt-engine/apache-ca.pem