I'm trying to make a userless request to the Foursquare API using Mike Lewis' Python wrapper - https://github.com/mLewisLogic/foursquare:
client = foursquare.Foursquare(client_id=Client_ID, client_secret=Client_Secret)
categs = client.venues.categories()
I encountered the exact same problem yesterday. I searched a lot and tried a lot, and seem the following strategy works for my case (I'm not 100% sure but it's not reporting the error any longer).
1) Download http://curl.haxx.se/ca/cacert.pem
2) Go to your Python httplib2 dir. Mine is at
3) Back up the current certificate
cp cacerts.txt backup_cacerts.txt
4) And then copy the downloaded file there and rename it as
mv cacert.pem cacerts.txt
Hope it helps. If not recover from the backup file and try other methods.
My foursquare scripts work all right after I change this : )