diff --git a/bws.js b/bws.js index 66c5dd0..fe0be8f 100755 --- a/bws.js +++ b/bws.js @@ -27,6 +27,10 @@ var serverOpts = {}; if (config.https) { serverOpts.key = fs.readFileSync(config.privateKeyFile || './ssl/privatekey.pem'); serverOpts.cert = fs.readFileSync(config.certificateFile || './ssl/certificate.pem'); + if (config.ciphers) { + serverOpts.ciphers = config.ciphers; + serverOpts.honorCipherOrder = true; + }; // This sets the intermediate CA certs only if they have all been designated in the config.js if (config.CAinter1 && config.CAinter2 && config.CAroot) {