Add ciphers

This commit is contained in:
Maciej Małecki 2014-03-17 21:49:31 +01:00
parent 1f73f8a42d
commit 784914be7a

View file

@ -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 () {