We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07cb4a4 commit f5b6741Copy full SHA for f5b6741
rhtap/common.sh
@@ -49,10 +49,12 @@ prepare-registry-user-pass() {
49
}
50
51
function addRootCert() {
52
- if [ ! -z "$CUSTOM_ROOT_CA" ]; then
+ if [ -n "${CUSTOM_ROOT_CA:-}" ]; then
53
echo "Using provided CA bundle"
54
echo "$CUSTOM_ROOT_CA" > /etc/pki/ca-trust/source/anchors/ca-bundle.crt
55
update-ca-trust
56
+ else
57
+ echo "Custom root CA variable is not set. Make sure CA trust is established"
58
fi
59
60
0 commit comments