pycurl and SSL cert
I am trying to write a pycurl script to access a secured site (HTTPS). c = pycurl.Curl() c.setopt(pycurl.USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0') c.setopt(pycurl.URL, 'https://for-example-securedsite') c.setopt(pycurl.COOKIEFILE, 'cookie.txt') c.setopt(pycurl.COOKIEJAR, 'cookies.txt') c.setopt(pycurl.WRITEDATA, file("page.html","wb")) I am getting the below error.. pycurl.error: (60, 'SSL certificate problem, verify that the CA cert is OK. Details:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed') The code failed,