Check for incorrect cert type
This commit is contained in:
parent
05f81082d2
commit
878d6a8028
|
@ -617,6 +617,11 @@ function install_matrix {
|
|||
if [[ $ONION_ONLY == "no" ]]; then
|
||||
chmod 755 /etc/ssl/certs/${MATRIX_DOMAIN_NAME}.dhparam
|
||||
fi
|
||||
|
||||
if [ -f /etc/ssl/certs/${MATRIX_DOMAIN_NAME}.crt ]; then
|
||||
echo $'Incorrect certificate generated'
|
||||
exit 73572
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue