Only use letsencrypt certs for hubzilla and gnusocial
This commit is contained in:
parent
fc9a146fdc
commit
1951eafc40
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue