title: using curl with php cannot connect peer reset
body: <p>Trying to find why the connection is reset by peer. Any idea what to look for in wireshark or how to troubleshoot correctly to find a solution?</p>
  
  <pre><code>curl --tlsv1.0 https://www.xxx.com -v
  
  Hostname was NOT found in DNS cache
    Trying ipaddress...
  Connected to xxxx.com (ipaddress) port 443 (#0)
  Initializing NSS with certpath: sql:/etc/pki/nssdb
    CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
  NSS error -5961 (PR_CONNECT_RESET_ERROR)
  TCP connection reset by peer
  Closing connection 0
  curl: (35) TCP connection reset by peer
  </code></pre>