Changes

From SME Server
Jump to navigationJump to search
116 bytes added ,  03:26, 14 August 2023
m
Line 148: Line 148:  
openssl genrsa -out private/koji_ca_cert.key 2048
 
openssl genrsa -out private/koji_ca_cert.key 2048
 
openssl req -config ssl.cnf -new -x509 -days 3650 -key private/koji_ca_cert.key -out koji_ca_cert.crt -extensions v3_ca
 
openssl req -config ssl.cnf -new -x509 -days 3650 -key private/koji_ca_cert.key -out koji_ca_cert.crt -extensions v3_ca
</syntaxhighlight>Create a script to make certs<syntaxhighlight lang="bash">
+
</syntaxhighlight>You will have to enter your details, but make sure the commonName is the full server name (e.g. koji.koozali.org).
 +
 
 +
Create a script to make certs<syntaxhighlight lang="bash">
 
mkdir -p ~/bin
 
mkdir -p ~/bin
 
nano ~/bin/koji_make_cert.sh
 
nano ~/bin/koji_make_cert.sh
381

edits

Navigation menu