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: ''
certfile: 'localhost.cert'
cafile: ''
ciphers: 'HIGH:!DSS:!aNULL@STRENGTH'
# Page template values
# title goes in the upper left corner, description goes in a <meta> tag

View file

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

View file

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