mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-21 17:17:28 +01:00
tweak names of keys in new user bundle
This commit is contained in:
parent
b205fa4dda
commit
87099540c8
@ -75,16 +75,16 @@ 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/koji_$NEW_USER.pem
|
||||||
cp $KOJI_PKI_DIR/koji_ca_bundle.pem $WORK_DIR/.koji/koji_ca_bundle.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
|
cat > $WORK_DIR/.koji/config <<- EOT
|
||||||
[koji]
|
[koji]
|
||||||
server = $KOJI_URL/kojihub
|
server = $KOJI_URL/kojihub
|
||||||
weburl = $KOJI_URL/koji
|
weburl = $KOJI_URL/koji
|
||||||
topurl = $KOJI_URL/kojifiles
|
topurl = $KOJI_URL/kojifiles
|
||||||
topdir = $KOJI_DIR
|
topdir = $KOJI_DIR
|
||||||
cert = ~/.koji/client.crt
|
cert = ~/.koji/koji_$NEW_USER.pem
|
||||||
serverca = ~/.koji/koji_ca_bundle.pem
|
serverca = ~/.koji/koji_ca_bundle.pem
|
||||||
anon_retry = true
|
anon_retry = true
|
||||||
authtype = ssl
|
authtype = ssl
|
||||||
|
Loading…
Reference in New Issue
Block a user