Enabled disabling of openssl cipher suits. RC4 disabled by default.

This commit is contained in:
bush 2015-03-05 04:31:45 +00:00
parent 9b5d38e6c8
commit a9a77147be
3 changed files with 5 additions and 2 deletions

View file

@ -79,6 +79,7 @@ https:
passphrase: '' passphrase: ''
certfile: 'localhost.cert' certfile: 'localhost.cert'
cafile: '' cafile: ''
ciphers: 'ALL:!RC4'
# 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: "ALL:!RC4"
}, },
io: { io: {
domain: "http://localhost", domain: "http://localhost",

View file

@ -72,7 +72,8 @@ 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")
}; };
Config.get("listen").forEach(function (bind) { Config.get("listen").forEach(function (bind) {