Error: self signed certificate

Sometimes, I have issues when call API https://developers.onemap.sg/commonapi/search

Backend: node.js v6.9.1

  1. Error: self signed certificate
  2. Error: write EPROTO 0:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:openssl\ssl\s3_pkt.c:365:

Somebody, Can you help me at this point?
Thanks

Hi Samtran,

As we using a verified SSLv3 CA cert from a vendor, it is not self-signed. This issue might be arising from your application.

It seems like your node depends on an openssl library. You can try changing it or use another stable version of node or lib

@samtran Probably you can try this solution: