Bug #38166
openCertificate file not found when updating even though file is present
Description
Currently using certbot with letsencrypt to generate certificates and it creates a symbolic link in /etc/letsencrypt/live/<DNS Name>/. This link uses a relative path instead of an absolute path. When katello-cert-check runs the validation is confirmed valid. When foreman-installer runs to update the certificate I get an error that permission is denied. Upon reviewing the logs and the process it seems that the ssl-build folder copied the relative path to the certificate and as such cannot find the file during the update process. I changed the links in the letsencrypt folder to absolute path and the certificates now update properly. It seems that symbolic link path is incorrect in the ssl-build folder and breaks the update process until manual intervention is done.
There are two items of concern here:
1. katello-cert-check validates the files but it fails anyways
2. the file path isn't adjusted for an absolute path when processing the certificates for installation.