From 1d4959ccaaf632fc451fcf85d91f2b3b217acda8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 3 Dec 2016 18:35:30 +0000 Subject: [PATCH] More ssl params --- src/freedombone-app-xmpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index dc9e8afb..c05c8ce3 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -329,6 +329,10 @@ function xmpp_create_config { echo 'https_ssl = {' >> /etc/prosody/prosody.cfg.lua echo " certificate = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.pem\";" >> /etc/prosody/prosody.cfg.lua echo " key = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.key\";" >> /etc/prosody/prosody.cfg.lua + echo " curve = $XMPP_ECC_CURVE;" >> /etc/prosody/prosody.cfg.lua + echo " ciphers = $XMPP_CIPHERS;" >> /etc/prosody/prosody.cfg.lua + echo ' options = {"no_sslv2", "no_sslv3" };' >> /etc/prosody/prosody.cfg.lua + echo " dhparam = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.dhparam\";" >> /etc/prosody/prosody.cfg.lua echo "}" >> /etc/prosody/prosody.cfg.lua echo '' >> /etc/prosody/prosody.cfg.lua echo 'ssl = {' >> /etc/prosody/prosody.cfg.lua