title: Requests: what is the difference between cert and verify?
body: <p>What is the difference between cert and verify?</p>
  
  <p>From Documentation:</p>
  
  <p>verify – (optional) if True, the SSL cert will be verified. A CA_BUNDLE path can also be provided.
  cert – (optional) if String, path to ssl client cert file (.pem). If Tuple, (‘cert’, ‘key’) pair.</p>
  
  <p>Does this mean I can do the following:</p>
  
  <pre><code>CA_BUNDLE='path/to/.pem'
  requests.get(url=google.com, verify= CA_BUNDLE)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>Cert='path/to/.pem'
  requests.get(url=google.com, cert=Cert)
  </code></pre>
  
  <p>They both look like they do the same thing. except verify can disable ssl verification.</p>
  
  <p>I am trying to compile my code to an exe using PYinstaller. I am using certifi module that I see already has a cacert.pem file but I guess I still have to bundle it with my code.</p>
  
  <p>In my code do I modify ...verify or cert?...with a path to cacert.pem or just 'cacert.pem'?</p>