Hello Guys,
I have a
Java Script program as bellow:
When I run the program using node, with the command =
node PeerSer.js, occurs the error message:
_tls_common.js:104
c.context.setKey(options.key, options.passphrase);
^
Error: error:0906D066:PEM routines:PEM_read_bio:bad end line
at Object.createSecureContext (_tls_common.js:104:17)
at Server (_tls_wrap.js:803:25)
at new Server (https.js:54:14)
at Object.createServer (https.js:76:10)
at PeerServer (C:\Conciliar\node_modules\peer\lib\index.js:76:20)
at Object.<anonymous> (C:\Conciliar\PeerServer.js:4:14)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
What is wrong?
Thanks,
Fernando