From 87099540c814f41efb27f415f6a60afbb00914bd Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 5 Oct 2024 17:28:10 +1000 Subject: [PATCH] tweak names of keys in new user bundle --- koji-setup/koji-add-user.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koji-setup/koji-add-user.sh b/koji-setup/koji-add-user.sh index 9b3a096..5887945 100644 --- a/koji-setup/koji-add-user.sh +++ b/koji-setup/koji-add-user.sh @@ -75,16 +75,16 @@ 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/$NEW_USER.pem $WORK_DIR/.koji/koji_$NEW_USER.pem 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/koji_"$NEW_USER"_browser_cert.p12 cat > $WORK_DIR/.koji/config <<- EOT [koji] server = $KOJI_URL/kojihub weburl = $KOJI_URL/koji topurl = $KOJI_URL/kojifiles topdir = $KOJI_DIR -cert = ~/.koji/client.crt +cert = ~/.koji/koji_$NEW_USER.pem serverca = ~/.koji/koji_ca_bundle.pem anon_retry = true authtype = ssl