Update mailcow.sh
removed unused _cert_type variable
This commit is contained in:
parent
fe1136aa95
commit
bddca7cfa3
@ -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…
Reference in New Issue
Block a user