Merge pull request #457 from 6IRCNet/3.0

set SSL ciphers
This commit is contained in:
Calvin Montgomery 2015-03-06 22:06:17 -06:00
commit 69c7f38e1f
3 changed files with 6 additions and 2 deletions

View File

@ -79,6 +79,7 @@ https:
passphrase: '' passphrase: ''
certfile: 'localhost.cert' certfile: 'localhost.cert'
cafile: '' cafile: ''
ciphers: 'HIGH:!DSS:!aNULL@STRENGTH'
# Page template values # Page template values
# title goes in the upper left corner, description goes in a <meta> tag # title goes in the upper left corner, description goes in a <meta> tag

View File

@ -43,7 +43,8 @@ var defaults = {
keyfile: "localhost.key", keyfile: "localhost.key",
passphrase: "", passphrase: "",
certfile: "localhost.cert", certfile: "localhost.cert",
cafile: "" cafile: "",
ciphers: "HIGH:!DSS:!aNULL@STRENGTH"
}, },
io: { io: {
domain: "http://localhost", domain: "http://localhost",

View File

@ -72,7 +72,9 @@ var Server = function () {
key: key, key: key,
cert: cert, cert: cert,
passphrase: Config.get("https.passphrase"), passphrase: Config.get("https.passphrase"),
ca: ca ca: ca,
ciphers: Config.get("https.ciphers"),
honorCipherOrder: true
}; };
Config.get("listen").forEach(function (bind) { Config.get("listen").forEach(function (bind) {