diff --git a/src/freedombone-app-jitsi b/src/freedombone-app-jitsi index 70e0fe5b..98e58358 100755 --- a/src/freedombone-app-jitsi +++ b/src/freedombone-app-jitsi @@ -427,14 +427,20 @@ function install_jitsi { if [ -f /etc/ssl/certs/${JITSI_DOMAIN_NAME}.pem ]; then sed -i "s|.crt|.pem|g" $jitsi_nginx_site + sed -i "s|.crt|.pem|g" /etc/prosody/conf.d/${JITSI_DOMAIN_NAME}.cfg.lua fi + cp /etc/ssl/certs/${JITSI_DOMAIN_NAME}.* /etc/prosody/certs + cp /etc/ssl/private/${JITSI_DOMAIN_NAME}.key /etc/prosody/certs + chown prosody:prosody /etc/prosody/certs/${JITSI_DOMAIN_NAME}.* + function_check nginx_ensite nginx_ensite ${JITSI_DOMAIN_NAME} set_completion_param "jitsi domain" "$JITSI_DOMAIN_NAME" systemctl restart nginx + systemctl restart prosody function_check add_ddns_domain add_ddns_domain $JITSI_DOMAIN_NAME