Browse Source

Allow rotating the default certificate which has no description

This means, by default, we will rotate the default certificate that comes with the DSM
pull/2935/head
Brian Hartvigsen 5 years ago
parent
commit
c7f61f8b80
No known key found for this signature in database GPG Key ID: 46EEA32081255BEB
  1. 4
      deploy/synology_dsm.sh

4
deploy/synology_dsm.sh

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

Loading…
Cancel
Save