title: pyCURL SSL download: SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
body: <p>I am lost for few hours on this little issue.</p>
  
  <p>I need to download XML from page with auth by login and pass.</p>
  
  <pre><code>def load(URL = 'https://xxx/'):
  
     URL +=  'data.xml?'
     URL += 'detail=custom:id,name' 
     URL += '&amp;limit=0' 
  
     import cStringIO
     buf = cStringIO.StringIO()
  
     curl = pycurl.Curl()
     curl.setopt(curl.USERPWD, "%s:%s" % ('Login', 'Pass'))
     curl.setopt(curl.URL, URL)
     curl.setopt(curl.WRITEFUNCTION, buf.write)
  
     curl.perform()
  
     data = str(buf.getvalue())
  </code></pre>
  
  <p>It works fine if run server on local host (win 8, django 1.6.1., python 2.7, manage.py runserver)</p>
  
  <p>When I deployed page on server, it throws this error:</p>
  
  <pre><code>(35, 'error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error')
  </code></pre>
  
  <p>Server:</p>
  
  <p>2.6.32-431.5.1.el6.x86_64</p>
  
  <p>Bitnami djangostack 1.5.5-2</p>
  
  <p>pycurl-7.19.3.1</p>
  
  <p>Can anybody please help how to fix? Or help me with another way how to download xml from SSL page?
  Thx for any help ;)</p>