HTTPS And Node.Js Just Won't work -


i'm building json service using node.js , journey. working great on http needed make work on https. believe i've implemented https correctly not matter https connection killed during handshake.

var http = require('https'); //code var httpsserver = http.createserver({ pfx: fs.readfilesync('sslcertificate_wildcard.pfx') }, function (request, response) {     console.log('incoming request', { url: request.url });     request.on('end', function () {         router.handle(request, body, function (route) {              //code         });          });   }); httpsserver.listen(11555); 

i've attached event handlers "checkcontinue", "connection", "connect", "upgrade", "clienterror", , "error" , "connection" ever raised.

do see request going out chrome via chrome developer tools network tab? https works great experience guess either not going out or going out http mistake. hope not running http website, https json call since thats security issue , blocked chrome. must run https website enable https calls client.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -