This commit is contained in:
Bob Mottram 2016-11-08 22:25:27 +00:00
parent 63d5591067
commit 746673bf73
1 changed files with 6 additions and 6 deletions

View File

@ -323,12 +323,12 @@ function install_radicale {
echo '}' >> /etc/nginx/sites-available/radicale echo '}' >> /etc/nginx/sites-available/radicale
# create a certificate # create a certificate
if [[ "$(cert_exists ${DEFAULT_DOMAIN_NAME} pem)" == "0" ]]; then #if [[ "$(cert_exists ${DEFAULT_DOMAIN_NAME} pem)" == "0" ]]; then
if [[ "$(cert_exists $DEFAULT_DOMAIN_NAME)" == "0" ]]; then # if [[ "$(cert_exists $DEFAULT_DOMAIN_NAME)" == "0" ]]; then
${PROJECT_NAME}-addcert -h $DEFAULT_DOMAIN_NAME --dhkey ${DH_KEYLENGTH} # ${PROJECT_NAME}-addcert -h $DEFAULT_DOMAIN_NAME --dhkey ${DH_KEYLENGTH}
check_certificates $DEFAULT_DOMAIN_NAME # check_certificates $DEFAULT_DOMAIN_NAME
fi # fi
fi #fi
update_default_domain update_default_domain