More ssl params
This commit is contained in:
parent
0d98b41182
commit
1d4959ccaa
|
@ -329,6 +329,10 @@ function xmpp_create_config {
|
||||||
echo 'https_ssl = {' >> /etc/prosody/prosody.cfg.lua
|
echo 'https_ssl = {' >> /etc/prosody/prosody.cfg.lua
|
||||||
echo " certificate = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.pem\";" >> /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 " 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 '' >> /etc/prosody/prosody.cfg.lua
|
echo '' >> /etc/prosody/prosody.cfg.lua
|
||||||
echo 'ssl = {' >> /etc/prosody/prosody.cfg.lua
|
echo 'ssl = {' >> /etc/prosody/prosody.cfg.lua
|
||||||
|
|
Loading…
Reference in New Issue