Merge "Change DIB_IPA_CERT resulting file name"
This commit is contained in:
commit
c20a42051a
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue