Wednesday, 15 March 2017

SSL Certificate with nodejs api

We are building webapi with koa and nodjs. Api is deployed on iis server. I have created Standard UCC SSL Certificate from godaddy.com. request generared for certificate is from iis server. its working fine with iis but when i want to use same certificate with koa and nodejs its not working

var httpsOptions = {
  key: fs.readFileSync('vheelz.b7p'),
  cert: fs.readFileSync('vheelz.crt')
};

https.createServer(httpsOptions, app.callback()).listen(3443);

Error Message:

Unsupported protocol The client and server don't support a common SSL protocol version or cipher suite.

Any idea what is the issue with ssl ?



via Muhammad Habib

No comments:

Post a Comment