title: Difference between --cacert and --capath in curl?
body: <p>When would one use the <code>--cacert</code> option vs. the <code>--capath</code> option within <code>curl</code> (CLI that is).  </p>
  
  <p><code>--cacert</code> appears to reference a monolithic file that contains multiple PEMs.  Assume it scans through to find the matching hostname?</p>
  
  <p><code>--capath</code> appears to reference a directory in which multiple files live.  Does curl pick up the appropriate certificate as a filename therein?</p>