mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update 30-ssl.sh
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
if bashio::config.true 'use_own_certs'; then
|
||||
|
||||
bashio::log.info "... using referenced ssl certificates"
|
||||
bashio::log.info "Using referenced ssl certificates"
|
||||
CERTFILE=$(bashio::config 'certfile')
|
||||
KEYFILE=$(bashio::config 'keyfile')
|
||||
|
||||
@@ -16,5 +16,6 @@ if bashio::config.true 'use_own_certs'; then
|
||||
[[ -f /data/config/keys/cert.crt ]] && rm /data/config/keys/cert.crt
|
||||
cp /ssl/"$CERTFILE" /data/config/keys/cert.crt
|
||||
cp /ssl/"$KEYFILE" /data/config/keys/cert.key
|
||||
echo "... done"
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user