From 46d5d1a7e620a4d7e80defa8218bcf7e7fb2ec37 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 28 Oct 2021 10:19:52 +0200 Subject: [PATCH] Correct automatic generation --- nextcloud/root/etc/cont-init.d/30-keygen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud/root/etc/cont-init.d/30-keygen b/nextcloud/root/etc/cont-init.d/30-keygen index dee562bd1..1db4057f7 100644 --- a/nextcloud/root/etc/cont-init.d/30-keygen +++ b/nextcloud/root/etc/cont-init.d/30-keygen @@ -15,8 +15,8 @@ else bashio::log.info "No ssl certificates set. Auto generating ones..." SUBJECT="/C=US/ST=CA/L=Carlsbad/O=Linuxserver.io/OU=LSIO Server/CN=*" openssl req -new -x509 -days 3650 -nodes -out /ssl/nextcloud/keys/cert.crt -keyout /ssl/nextcloud/keys/cert.key -subj "$SUBJECT" - CERTFILE="/ssl/nextcloud/keys/cert.crt" - KEYFILE="/ssl/nextcloud/keys/cert.key" + CERTFILE="nextcloud/keys/cert.crt" + KEYFILE="nextcloud/keys/cert.key" fi