title: NODE -- { [Error: unable to verify the first certificate] code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' }
body: <p>I have a service in node which makes a POST request to a RESTful API end point to save some data. I'm using the <code>request</code> npm module to make POST request and i have URL, METHOD, HEADERS, request body (json in this case). When i start the node server i get this error <code>{ [Error: unable to verify the first certificate] code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' }</code>, Tried googling around the issue and could not find any workable solution so far. I'm running everything behind a proxy.</p>
  
  <p>Is it something related to SSL if so what would be the optimal solution for this one? My node version is v5.6.0.</p>