Hello,
I recently have an issue on AIX hosts that pycurl module failed to run and throw error pointing to certificate file.
$ python2
>>> import pycurl
>>> c = pycurl.Curl()
>>> c.setopt(c.URL, 'https://artifactory.company.com')
>>> c.setopt(c.CAINFO, '/etc/certs/cert.pem')
>>> c.perform()
Traceback (most recent call last):
File "<string>", line 1, in <module>
pycurl.error: (77, 'error setting certificate file: /etc/certs/cert.pem')
What could be the root cause of this error ?
How to remediate it ? If I run curl command with --cacert argument I am able to get the html data.from the url.
Is there any issue on rpm package(s) or librari(es) caused the error ?
------------------------------
Alianto Alianto
------------------------------