title: SSL certificate error in Python requests module, but not in VBA
body: <p>I am trying to send a request to company's intranet page like below:</p>
  
  <pre><code>import requests
  
  http_proxy  = 'some_proxy1'
  https_proxy = 'some_proxy2'
  URL = 'some_url'
  
  
  proxyDict = { 
                "http"  : some_proxy1, 
                "https" : some_proxy2
              }
  
  response = requests.get(some_url, proxies=proxyDict, verify=False)
  </code></pre>
  
  <p>Even though <code>verify</code> is set to <code>False</code>, I get </p>
  
  <p><code>SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'sslv3 alert bad certificate')],)",)</code></p>
  
  <p>The code works fine for external pages.</p>
  
  <p>Strangely, I tried same request (but without proxies) through VBA, and it works:</p>
  
  <pre><code>Sub request()
  
  Set objHTTP = CreateObject("MSXML2.ServerXMLHTTP")
  URL = "some_url"
  objHTTP.Open "GET", URL, False
  objHTTP.send
  Debug.Print objHTTP.responseText
  
  end sub
  </code></pre>
  
  <p>Is there anything I can do to make the Python code work?</p>
  
  <p>And why does VBA not have a problem with SSL certificate? Is it because it somehow knows it beforehand - since it is native to Windows - and no verification is required?</p>