mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update regenerate_certificate.md
This commit is contained in:
parent
ba53c5e549
commit
67a1937441
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ rm $finalpath/{crt.pem,key.pem,openssl.cnf}
|
|||
# Copy openSSL's configuration file
|
||||
cp $ssldir/openssl.cnf $finalpath/
|
||||
|
||||
# Change yunohost.org with your domain in the configuration
|
||||
sed -i "s/yunohost.org/example.org/g" $finalpath/openssl.cnf
|
||||
|
||||
# Generate certificate and key
|
||||
openssl req -new -config $finalpath/openssl.cnf -days 3650 -out $ssldir/certs/yunohost_csr.pem -keyout $ssldir/certs/yunohost_key.pem -nodes -batch
|
||||
|
||||
|
|
Loading…
Reference in a new issue