1787754d57
Even though this file ends up in the /tmp directory, for readability it's good to point out that server.pem is not necessarily the certificate for a server, but can be a CA certificate which is trusted if this option is used. Change-Id: Iea27a702a844456e4472957438f75ed3819d62ca
13 lines
191 B
Bash
Executable File
13 lines
191 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
if [ -n "${DIB_IPA_CERT:=}" ]; then
|
|
cp $DIB_IPA_CERT $TMP_HOOKS_PATH/ipa-trusted-cert.pem
|
|
fi
|