mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 17:15:57 +02:00
Correct automatic generation
This commit is contained in:
@@ -15,8 +15,8 @@ else
|
|||||||
bashio::log.info "No ssl certificates set. Auto generating ones..."
|
bashio::log.info "No ssl certificates set. Auto generating ones..."
|
||||||
SUBJECT="/C=US/ST=CA/L=Carlsbad/O=Linuxserver.io/OU=LSIO Server/CN=*"
|
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"
|
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"
|
CERTFILE="nextcloud/keys/cert.crt"
|
||||||
KEYFILE="/ssl/nextcloud/keys/cert.key"
|
KEYFILE="nextcloud/keys/cert.key"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user