Merge "Change DIB_IPA_CERT resulting file name"
This commit is contained in:
commit
c20a42051a
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user