I’ve tried with both the .crt and .pem certificates from the Curl site in the last day or so. I get the same error message whether I’m referring to the crt or the pem. They are definitely located in c:\xamp\php\ - I’ve updated php.ini and restarted accordingly every time I’ve made a change to no avail.
I’ve read that apache might not have permission to read from the file but not sure which user account it’s trying to read as. My domain admin account has full control over apache and the c:.
I’ve checked our search term (from:username) on the twitter site and that works.
I’ve followed the guide I found on here about adding the certificates and I’ve got the relevant API keys, which is all there, and verified the twitter module in Xibo.
I’ve come to a bit of a dead end with it, can anyon help!?
If the file definitely exists then it’s likely filesystem permissions. I don’t know who Apache runs as on your system but you should be able to get that from the process listing. That user needs permission to read that file.
You’re absolutely certain the file doesn’t have an extra hidden extension (eg cacert.pem.txt)?
Failing that, I think then you might try a forum specific to XAMPP. What you’ve done should work so I’m not sure we’re going to be able to offer you much more in the way of support.
I think your first certificate was corrupted in some way and curl couldn’t parse/load it. Your second certificate doesn’t contain the correct certs for Twitter (this is a guess).
Try a 3rd one? It sounds lame as a suggestion but i’m totally out of ideas, sorry