From 1951eafc4068467124ae325cbc51b5d9e2a7f55f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Dec 2015 09:38:35 +0000 Subject: [PATCH] Only use letsencrypt certs for hubzilla and gnusocial --- src/freedombone | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/freedombone b/src/freedombone index 4411fe4c..ad0ed007 100755 --- a/src/freedombone +++ b/src/freedombone @@ -7549,11 +7549,7 @@ quit" > $INSTALL_DIR/batch.sql configure_php if [ ! -f /etc/ssl/certs/$MICROBLOG_DOMAIN_NAME.dhparam ]; then - if [[ $LETSENCRYPT_ENABLED != "yes" ]]; then - ${PROJECT_NAME}-addcert -h $MICROBLOG_DOMAIN_NAME --dhkey $DH_KEYLENGTH - else - ${PROJECT_NAME}-addcert -e $MICROBLOG_DOMAIN_NAME -s $LETSENCRYPT_SERVER --dhkey $DH_KEYLENGTH - fi + ${PROJECT_NAME}-addcert -e $MICROBLOG_DOMAIN_NAME -s $LETSENCRYPT_SERVER --dhkey $DH_KEYLENGTH check_certificates $MICROBLOG_DOMAIN_NAME fi @@ -7855,11 +7851,7 @@ quit" > $INSTALL_DIR/batch.sql configure_php if [ ! -f /etc/ssl/certs/$HUBZILLA_DOMAIN_NAME.dhparam ]; then - if [[ $LETSENCRYPT_ENABLED != "yes" ]]; then - ${PROJECT_NAME}-addcert -h $HUBZILLA_DOMAIN_NAME --dhkey $DH_KEYLENGTH - else - ${PROJECT_NAME}-addcert -e $HUBZILLA_DOMAIN_NAME -s $LETSENCRYPT_SERVER --dhkey $DH_KEYLENGTH - fi + ${PROJECT_NAME}-addcert -e $HUBZILLA_DOMAIN_NAME -s $LETSENCRYPT_SERVER --dhkey $DH_KEYLENGTH check_certificates $HUBZILLA_DOMAIN_NAME fi