Allow rotating the default certificate which has no description

This means, by default, we will rotate the default certificate that comes with the DSM
This commit is contained in:
Brian Hartvigsen 2020-05-16 01:38:44 -06:00
parent 3a7c7fe4e8
commit c7f61f8b80
No known key found for this signature in database
GPG Key ID: 46EEA32081255BEB

View File

@ -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"