title: Insomnia and NodeJS: "Error: Peer certificate cannot be authenticated with given CA certificates"
body: <p>I'm trying to send a GET request using the Insomnia app to a NodeJS server app -- I didn't write the app but have joined the team.</p>
  
  <p>Although I get a reasonable JSON response when I hit the URL -- <a href="https://127.0.0.1:9999" rel="noreferrer">https://127.0.0.1:9999</a> -- from the browser, I get the error "Error: Peer certificate cannot be authenticated with given CA certificates" when I'm using Insomnia.  Using a Mac, MacOS 10.12.4.  Node v6.3.1.</p>
  
  <p>The Insomnia timeline says:</p>
  
  <pre><code>* Preparing request to https://127.0.0.1:9999/
  * Enable automatic URL encoding
  * Enable SSL validation
  * Enable cookie sending with jar of 2 cookies
  * Hostname in DNS cache was stale, zapped
  *   Trying 127.0.0.1...
  * TCP_NODELAY set
  * Connected to 127.0.0.1 (127.0.0.1) port 9999 (#8)
  * WARNING: using IP address, SNI is being disabled by the OS.
  * SSL certificate problem: Invalid certificate chain
  * Curl_http_done: called premature == 1
  * Closing connection 8
  </code></pre>
  
  <p>Thanks for any help!</p>