Comment 6 for bug 873517

Revision history for this message
Eric Larson (eric-ionrock) wrote :

I've had trouble connecting to services in my organization because the cert verification failed. Here is a traceback from a Python script that hits the error:

Traceback (most recent call last):
  File "/home/eric/bin/qpaste", line 52, in <module>
    resp, content = h.request(paste_url, 'POST', urlencode(data))
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1436, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1188, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1123, in _conn_request
    conn.connect()
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 911, in connect
    raise SSLHandshakeError(e)
httplib2.SSLHandshakeError: [Errno 1] _ssl.c:503: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed