Browse Source

Update mailcow.sh

removed unused _cert_type variable
pull/3281/head
Christian Burmeister 5 years ago
committed by GitHub
parent
commit
bddca7cfa3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      deploy/mailcow.sh

4
deploy/mailcow.sh

@ -45,14 +45,12 @@ mailcow_deploy() {
fi fi
if _isEccKey "${Le_Keylength}"; then if _isEccKey "${Le_Keylength}"; then
_info "ECC key type detected" _info "ECC key type detected"
_cert_type="ecdsa"
_cert_name_prefix="ecdsa-" _cert_name_prefix="ecdsa-"
else else
_info "RSA key type detected" _info "RSA key type detected"
_cert_type="rsa"
_cert_name_prefix="" _cert_name_prefix=""
fi fi
_info "Copying key and cert" _info "Copying key and cert"
_real_key="$_ssl_path/${_cert_name_prefix}key.pem" _real_key="$_ssl_path/${_cert_name_prefix}key.pem"
if ! cat "$_ckey" >"$_real_key"; then if ! cat "$_ckey" >"$_real_key"; then

Loading…
Cancel
Save