Supported ssl dhparam

This commit is contained in:
Cheng-Han, Wu 2016-03-15 10:39:45 +08:00
parent 921b5f4652
commit f889ffaa9f
3 changed files with 3 additions and 0 deletions

1
app.js
View file

@ -40,6 +40,7 @@ if (config.usessl) {
key: fs.readFileSync(config.sslkeypath, 'utf8'),
cert: fs.readFileSync(config.sslcertpath, 'utf8'),
ca: ca,
dhparam: fs.readFileSync(config.dhparampath, 'utf8'),
requestCert: false,
rejectUnauthorized: false
};