title: How to add OCSP support into Python requests library?
body: <p>Is there any way to implement OCSP checking with the <em>requests</em> library ?</p>
  
  <p>The only feasible way I see now is using <a href="https://github.com/pyca/pyopenssl" rel="nofollow">pyOpenSSL</a>, however this means having to establish a separate independent connection to the server to get the certificate and then connect to the issuer to verify it.</p>
  
  <p>And then, are there any such implementations out there ?
  Did you already solve it and care to report about it ?</p>
  
  <p><a href="https://github.com/M2Crypto/M2Crypto" rel="nofollow">M2Crypto</a> also looks like to be a candidate for SSL connections at least, however I'm not sure about possible drawbacks with that library, but it looks more low-level than <code>requests</code> for sure.</p>
  
  <p><strong>Side note:</strong><br>
  Apparently Python really sucks when it comes to more sophisticated HTTP/HTTPS connections.</p>
  
  <p><code>urllib</code> does not even check SSL/TLS certificates while <code>requests</code> comes with its own collection of CA certificates (rather than using the system's CAs) and does not seem to support proxy configuration via PAC.</p>
  
  <p>Heck, I even tried using Qt's HTTP stack (which uses OS settings) but ran into a stalling issue with multiple concurrent connections.</p>