Add passphrase support to SSL

This commit is contained in:
calzoneman 2013-09-10 14:10:30 -05:00
parent 4ba8e88e27
commit 83ea83429e
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Tue Sep 10 14:09 2013 CDT
* lib/config.js, lib/server.js: Add a config key for the passphrase
to the ssl key.
Mon Sep 9 22:10 2013 CDT
* lib/acp.js: Change acp-channel-unload callback to duplicate the list
of users in the channel to prevent concurrent modification while

View File

@ -22,6 +22,7 @@ var defaults = {
"io-host" : "0.0.0.0",
"enable-ssl" : false,
"ssl-keyfile" : "",
"ssl-passphrase" : "",
"ssl-certfile" : "",
"ssl-port" : 443,
"asset-cache-ttl" : 0,

View File

@ -218,6 +218,7 @@ var Server = {
var options = {
key: key,
passphrase: self.cfg["ssl-passphrase"],
cert: cert
};