howto create nodejs ssl server?
Try adding the CA like so:
var credentials = {
key: fs.readFileSync(options.base_project_folder + 'privatekey.pem'),
cert: fs.readFileSync(options.base_project_folder + 'certificate.pem'),
ca: fs.readFileSync(/path/to/CA/cert)
};
The docs say that the options argument is similar to tls.createServer