No cert
This commit is contained in:
parent
63d5591067
commit
746673bf73
|
@ -323,12 +323,12 @@ function install_radicale {
|
|||
echo '}' >> /etc/nginx/sites-available/radicale
|
||||
|
||||
# create a certificate
|
||||
if [[ "$(cert_exists ${DEFAULT_DOMAIN_NAME} pem)" == "0" ]]; then
|
||||
if [[ "$(cert_exists $DEFAULT_DOMAIN_NAME)" == "0" ]]; then
|
||||
${PROJECT_NAME}-addcert -h $DEFAULT_DOMAIN_NAME --dhkey ${DH_KEYLENGTH}
|
||||
check_certificates $DEFAULT_DOMAIN_NAME
|
||||
fi
|
||||
fi
|
||||
#if [[ "$(cert_exists ${DEFAULT_DOMAIN_NAME} pem)" == "0" ]]; then
|
||||
# if [[ "$(cert_exists $DEFAULT_DOMAIN_NAME)" == "0" ]]; then
|
||||
# ${PROJECT_NAME}-addcert -h $DEFAULT_DOMAIN_NAME --dhkey ${DH_KEYLENGTH}
|
||||
# check_certificates $DEFAULT_DOMAIN_NAME
|
||||
# fi
|
||||
#fi
|
||||
|
||||
update_default_domain
|
||||
|
||||
|
|
Loading…
Reference in New Issue