Merge "Change DIB_IPA_CERT resulting file name"

This commit is contained in:
Jenkins 2016-08-18 13:35:12 +00:00 committed by Gerrit Code Review
commit c20a42051a
2 changed files with 3 additions and 3 deletions

View File

@ -8,5 +8,5 @@ set -eu
set -o pipefail set -o pipefail
if [ -n "${DIB_IPA_CERT:=}" ]; then 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 fi

View File

@ -38,6 +38,6 @@ case "$DIB_INIT_SYSTEM" in
esac esac
# Copying the self signed certificate for request library # Copying the self signed certificate for request library
if [ -f /tmp/in_target.d/server.pem ]; then if [ -f /tmp/in_target.d/ipa-trusted-cert.pem ]; then
cat /tmp/in_target.d/server.pem >> $($IPADIR/venv/bin/python -c "import requests; print requests.certs.where()") cat /tmp/in_target.d/ipa-trusted-cert.pem >> $($IPADIR/venv/bin/python -c "import requests; print requests.certs.where()")
fi fi