diff options
-rw-r--r-- | app.js | 2 | ||||
-rw-r--r-- | app/xmpp/index.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ if (httpsEnabled) { app = express().https({ key: fs.readFileSync(settings.https.key), cert: fs.readFileSync(settings.https.cert), - honorCipherOrder: settings.https.honorCipherOrder || true, + honorCipherOrder: true, ciphers: settings.https.ciphers || 'AES128-GCM-SHA256', handshakeTimeout: settings.https.handshakeTimeout || 5000, secureOptions: settings.https.options || 'SSL_OP_NO_SSLv2:SSL_OP_NO_SSLv3:SSL_OP_NO_TLSv1' diff --git a/app/xmpp/index.js b/app/xmpp/index.js index 63e0bc0..b0ee1bb 100644 --- a/app/xmpp/index.js +++ b/app/xmpp/index.js @@ -28,7 +28,7 @@ function xmppStart(core) { options.tls = { keyPath: settings.xmpp.tls.key, certPath: settings.xmpp.tls.cert, - honorCipherOrder: settings.xmpp.tls.honorCipherOrder || true, + honorCipherOrder: true, ciphers: settings.xmpp.tls.ciphers || 'AES128-GCM-SHA256', handshakeTimeout: settings.xmpp.tls.handshakeTimeout || 5000, secureOptions: settings.xmpp.tls.options || 'SSL_OP_NO_SSLv2:SSL_OP_NO_SSLv3:SSL_OP_NO_TLSv1' |