Increase depth to accomodate intermediate certificates
This commit is contained in:
parent
29cac8fc6a
commit
8c71dd25f0
|
@ -687,7 +687,7 @@ function xmpp_create_config {
|
|||
echo " certificate = \"/etc/ssl/certs/${DEFAULT_DOMAIN_NAME}.crt\";" >> /etc/prosody/prosody.cfg.lua
|
||||
fi
|
||||
echo " curve = $XMPP_ECC_CURVE;" >> /etc/prosody/prosody.cfg.lua
|
||||
echo ' depth = "1";' >> /etc/prosody/prosody.cfg.lua
|
||||
echo ' depth = "2";' >> /etc/prosody/prosody.cfg.lua
|
||||
echo " ciphers = $XMPP_CIPHERS;" >> /etc/prosody/prosody.cfg.lua
|
||||
echo ' options = { "tlsv1+" };' >> /etc/prosody/prosody.cfg.lua
|
||||
echo " dhparam = \"/etc/ssl/certs/${DEFAULT_DOMAIN_NAME}.dhparam\";" >> /etc/prosody/prosody.cfg.lua
|
||||
|
@ -722,7 +722,7 @@ function xmpp_create_config {
|
|||
echo " certificate = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.crt\";" >> /etc/prosody/prosody.cfg.lua
|
||||
fi
|
||||
echo " curve = $XMPP_ECC_CURVE;" >> /etc/prosody/prosody.cfg.lua
|
||||
echo ' depth = "1";' >> /etc/prosody/prosody.cfg.lua
|
||||
echo ' depth = "2";' >> /etc/prosody/prosody.cfg.lua
|
||||
echo " ciphers = $XMPP_CIPHERS;" >> /etc/prosody/prosody.cfg.lua
|
||||
echo ' options = { "tlsv1+" };' >> /etc/prosody/prosody.cfg.lua
|
||||
echo " dhparam = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.dhparam\";" >> /etc/prosody/prosody.cfg.lua
|
||||
|
@ -896,8 +896,8 @@ function install_xmpp_main {
|
|||
if ! grep -q 'ciphers =' /etc/prosody/conf.avail/xmpp.cfg.lua; then
|
||||
sed -i "/certificate =/a\ ciphers = $XMPP_CIPHERS;" /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
fi
|
||||
if ! grep -q 'depth = "1";' /etc/prosody/conf.avail/xmpp.cfg.lua; then
|
||||
sed -i '/certificate =/a\ depth = "1";' /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
if ! grep -q 'depth = "2";' /etc/prosody/conf.avail/xmpp.cfg.lua; then
|
||||
sed -i '/certificate =/a\ depth = "2";' /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
fi
|
||||
if ! grep -q 'curve =' /etc/prosody/conf.avail/xmpp.cfg.lua; then
|
||||
sed -i "/certificate =/a\ curve = $XMPP_ECC_CURVE;" /etc/prosody/conf.avail/xmpp.cfg.lua
|
||||
|
|
Loading…
Reference in New Issue