I’ve previously read about problems occuring with pycurl and certificates. I can’t find the reference I’m thinking of, but it’s something to do with whether pycurl respects the system or custom certificate stores. I’ve found these links which might provide some background information:
- Fan+: fix: tornado HTTP 599 issue / gnutls_handshake() failed
- PycURL Installation — PycURL 7.43.0.6 documentation
- Curl: Re: Error 60: SSL failed under pycurl, but works under normal curl
It could be completely unrelated issue to those, but if no-one else has a suggestion that might be something to investigate?