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