commit ddc1f4ddb2f2a0434a411c3b81ee867d8e8dd9c7 parent 2ed6d2886e0dc40ffcf1b7af3ea18b32902345a7 Author: Johann150 <johann.galle@protonmail.com> Date: Wed, 10 Mar 2021 22:55:50 +0100 update Debian install script Diffstat:
M | tools/debian/install.sh | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/debian/install.sh b/tools/debian/install.sh @@ -66,8 +66,10 @@ cp geminilogs /etc/logrotate.d/ echo "setting up content files..." mkdir -p /srv/gemini/content -openssl req -x509 -newkey rsa:4096 -keyout /srv/gemini/key.rsa -out /srv/gemini/cert.pem \ - -days 3650 -nodes -subj "/CN=$(uname -n)" +mkdir -p /srv/gemini/.certificates +openssl req -x509 -newkey rsa:4096 -keyout /srv/gemini/.certificates/key.rsa \ + -out /srv/gemini/.certificates/cert.pem -days 3650 -nodes \ + -subj "/CN=$(uname -n)" -addext "subjectAltName = DNS:$(uname -n)" echo "starting service..." systemctl daemon-reload