Update mailcow.sh

removed unused _cert_type variable
This commit is contained in:
Christian Burmeister 2020-12-02 19:03:45 +01:00 committed by GitHub
parent fe1136aa95
commit bddca7cfa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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