update the severca bundle

This commit is contained in:
Trevor Batley 2024-10-04 09:54:07 +10:00
parent 1e2b89bec0
commit b205fa4dda

View File

@ -76,7 +76,7 @@ trap cleanup EXIT
pushd $WORK_DIR
mkdir -p .koji
cp $KOJI_PKI_DIR/$NEW_USER.pem $WORK_DIR/.koji/client.crt
cp $KOJI_PKI_DIR/koji_ca_cert.crt $WORK_DIR/.koji/serverca.crt
cp $KOJI_PKI_DIR/koji_ca_bundle.pem $WORK_DIR/.koji/koji_ca_bundle.pem
cp $KOJI_PKI_DIR/certs/"$NEW_USER"_browser_cert.p12 $WORK_DIR/.koji/.
cat > $WORK_DIR/.koji/config <<- EOT
[koji]
@ -85,7 +85,7 @@ weburl = $KOJI_URL/koji
topurl = $KOJI_URL/kojifiles
topdir = $KOJI_DIR
cert = ~/.koji/client.crt
serverca = ~/.koji/serverca.crt
serverca = ~/.koji/koji_ca_bundle.pem
anon_retry = true
authtype = ssl
EOT