From 67a1937441a9d605f61298bc02faf75504108d04 Mon Sep 17 00:00:00 2001 From: "kload@kload.fr" Date: Thu, 9 Oct 2014 14:35:29 +0200 Subject: [PATCH] Update regenerate_certificate.md --- regenerate_certificate.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/regenerate_certificate.md b/regenerate_certificate.md index bf067e83..486856bb 100644 --- a/regenerate_certificate.md +++ b/regenerate_certificate.md @@ -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