curle_ssl_crl_badfile


#1

I’m currently using Codebird.php for the development of my apps, and I’ve had no problems with GETTING information and statuses from Twitter. However, I just started to use the statuses/update and statuses/update_with_media routines and am constantly getting curl error code 77 or CURLE_SSL_CACERT_BADFILE. I’ve looked and searched throughout dev.twitter.com and google and have basically found nothing to help as to why I am getting this error.

Here is my code for the statuses/update:

    Codebird::setConsumerKey($this->ConsumerKey, $this->ConsumerSec);
    $cb = Codebird::getInstance();    
    $cb->setToken($this->APIKey,$this->APISec);
    $reply = $cb->statuses_update("status=$Message");    

and here is the code for the statuses/update_with_media

    Codebird::setConsumerKey($this->ConsumerKey, $this->ConsumerSec);
    $cb = Codebird::getInstance();    
    $cb->setToken($this->APIKey,$this->APISec);
    $params = array(
        'status' => "$Message",
        'media[]' => "$Image"
    );
    $reply = $cb->statuses_updateWithMedia($params);        

Again, whether I do a send with an image or just do an update I get back CURLE_SSL_CACERT_BADFILE.from Curl and I have no idea as to why.

So can some please let me know how I am messing this up?

Thank you.

Frank