From 784914be7a99e496ad4c68157925c6e40177bb40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Mon, 17 Mar 2014 21:49:31 +0100 Subject: [PATCH] Add ciphers --- lib/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/app.js b/lib/app.js index 2d23eb32..43421253 100755 --- a/lib/app.js +++ b/lib/app.js @@ -73,7 +73,10 @@ config.load(function(err, conf) { var options = { key: privateKey, cert: certificate, - requestCert: true + requestCert: true, + secureProtocol: 'TLSv1_method', + ciphers: 'AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH', + honorCipherOrder: true }; https.createServer(options, app).listen(port, function () {