diff --git a/elements/ironic-agent/extra-data.d/15-ssl-ca-copy b/elements/ironic-agent/extra-data.d/15-ssl-ca-copy index 1a3c1ad6..f04917ba 100755 --- a/elements/ironic-agent/extra-data.d/15-ssl-ca-copy +++ b/elements/ironic-agent/extra-data.d/15-ssl-ca-copy @@ -8,5 +8,5 @@ set -eu set -o pipefail if [ -n "${DIB_IPA_CERT:=}" ]; then - cp $DIB_IPA_CERT $TMP_HOOKS_PATH/server.pem + cp $DIB_IPA_CERT $TMP_HOOKS_PATH/ipa-trusted-cert.pem fi diff --git a/elements/ironic-agent/install.d/ironic-agent-source-install/60-ironic-agent-install b/elements/ironic-agent/install.d/ironic-agent-source-install/60-ironic-agent-install index 3c93d70f..1169f176 100755 --- a/elements/ironic-agent/install.d/ironic-agent-source-install/60-ironic-agent-install +++ b/elements/ironic-agent/install.d/ironic-agent-source-install/60-ironic-agent-install @@ -38,6 +38,6 @@ case "$DIB_INIT_SYSTEM" in esac # Copying the self signed certificate for request library -if [ -f /tmp/in_target.d/server.pem ]; then - cat /tmp/in_target.d/server.pem >> $($IPADIR/venv/bin/python -c "import requests; print requests.certs.where()") +if [ -f /tmp/in_target.d/ipa-trusted-cert.pem ]; then + cat /tmp/in_target.d/ipa-trusted-cert.pem >> $($IPADIR/venv/bin/python -c "import requests; print requests.certs.where()") fi