changed ssl

This commit is contained in:
coderaiser 2013-03-07 08:21:45 -05:00
parent f81b91c94f
commit a93277c9d6
8 changed files with 134 additions and 36 deletions

View file

@ -184,8 +184,9 @@
if(Config.ssl)
lParams.ssl = {
key : fs.readFileSync(DIR + 'ssl/privatekey.pem'),
cert : fs.readFileSync(DIR + 'ssl/certificate.pem')
ca : fs.readFileSync(DIR + 'ssl/sub.class1.server.ca.pem'),
key : fs.readFileSync(DIR + 'ssl/ssl.key'),
cert : fs.readFileSync(DIR + 'ssl/ssl.crt')
};
server.start(lParams);