</syntaxhighlight>and make it executable<syntaxhighlight lang="bash">
</syntaxhighlight>and make it executable<syntaxhighlight lang="bash">
chmod a+x ~/bin/koji_make_cert.sh
chmod a+x ~/bin/koji_make_cert.sh
−
</syntaxhighlight>Lets create some certificates and add our admin user<syntaxhighlight lang="bash">
+
</syntaxhighlight>Lets create some certificates and add our admin user
+
{{Note box|The koji documentation states that the kojihub and kojiweb certs must have the fully qualified server name as the common name (e.g. koji.koozali.org). You can differentiate them via the organisation unit name (e.g. kojihub and kojiweb).
+
+
For the others, the common name should be the login name for that cert (e.g. kojira, kojid, kojiadmin).}}<syntaxhighlight lang="bash">
koji_make_cert.sh kojihub
koji_make_cert.sh kojihub
koji_make_cert.sh kojiweb
koji_make_cert.sh kojiweb
Line 179:
Line 182:
koji_make_cert.sh kojid
koji_make_cert.sh kojid
koji_make_cert.sh kojiadmin
koji_make_cert.sh kojiadmin
+
</syntaxhighlight>Now we create the koji administration user (kojiadmin) and set up the certs.We need to be the kojiadmin user to get the right permissions when we copy over the required certs, so...<syntaxhighlight lang="bash">
useradd kojiadmin
useradd kojiadmin
−
</syntaxhighlight>We need to be the kojiadmin user to get the right permissions when we copy over the required certs, so...<syntaxhighlight lang="bash">