Using https or wss to create a client connection. And it will create failed.
Error: unable to verify the first certificate
Added the below code to disable the SSL check.
process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0;
https://blog.darkthread.net/blog/npm-unable-get-local-issuer-cert-issue/
https://medium.com/nodejs-tips/ssl-certificate-explained-fc86f8aa43d4