Unverified Commit c7f61f8b authored by Brian Hartvigsen's avatar Brian Hartvigsen
Browse files

Allow rotating the default certificate which has no description

This means, by default, we will rotate the default certificate that comes with the DSM
parent 3a7c7fe4
...@@ -68,10 +68,6 @@ synology_dsm_deploy() { ...@@ -68,10 +68,6 @@ synology_dsm_deploy() {
# Get the certificate description, but don't save it until we verfiy it's real # Get the certificate description, but don't save it until we verfiy it's real
_getdeployconf SYNO_Certificate _getdeployconf SYNO_Certificate
if [ -z "${SYNO_Certificate:-}" ]; then
_err "SYNO_Certificate needs to be defined (with the Certificate description name)"
return 1
fi
_debug SYNO_Certificate "$SYNO_Certificate" _debug SYNO_Certificate "$SYNO_Certificate"
_base_url="$SYNO_Scheme://$SYNO_Hostname:$SYNO_Port" _base_url="$SYNO_Scheme://$SYNO_Hostname:$SYNO_Port"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment