Viewing 12 replies - 1 through 12 (of 12 total)
  • Having the exact same problem, the old “disable ssl” filter isn’t doing the trick anymore…

    Salo

    (@salo-consulting)

    Same issue here!

    This worked for me:

    You need just to set cacert.pem to curl.cainfo.

    Since PHP 5.3.7 you could do:

    download https://curl.haxx.se/ca/cacert.pem and save it somewhere.
    update php.ini — add curl.cainfo = “PATH_TO/cacert.pem”

    (from https://stackoverflow.com/questions/6400300/https-and-ssl3-get-server-certificatecertificate-verify-failed-ca-is-ok)

    Thanks, that worked for me

    Solved my problem using the S3 API as well! Thank you for the info marknjones!!

    Works for me, and the disable_ssl plugin is still needed.

    Thread Starter paulroberts

    (@paulroberts)

    thanks, i ran

    curl https://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt

    on my centos vps and everything is working now.

    As for those people whos PHP version didn’t update to 5.3.7,the solution said below isn’t work:

    You need just to set cacert.pem to curl.cainfo.

    Since PHP 5.3.7 you could do:

    download https://curl.haxx.se/ca/cacert.pem and save it somewhere.
    update php.ini — add curl.cainfo = “PATH_TO/cacert.pem”

    I have found many ways to solve this problem,finally I found the way the similar as “paulroberts” said,but a litter more:

    it is possible your /etc/pki/tls/certs/ is messed up. Back up all files in there first, and then download new certificate bundle, as described here:

    curl https://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt

    And once yum works again, reinstall the ca-certificates package:
    yum install ca-certificates

    (From LINUX CENTOS 6.3 – 14:Pycurl Error 77 – Yum repository error

    Done!!!

    Dear marknjones,

    Thank you for posting the solution to this problem. I’m afraid all this language is foreign to me as I’m not any kind of website developer and I’m having troubles finding someone who can explain to me the how-to steps for doing these steps:
    You need just to set cacert.pem to curl.cainfo.

    Since PHP 5.3.7 you could do:

    download https://curl.haxx.se/ca/cacert.pem and save it somewhere.
    update php.ini — add curl.cainfo = “PATH_TO/cacert.pem”

    Any help would be greatly appreciated!

    Thank you!

    @victoriagracelopez

    first – you need to determine the location of your php.ini file. This page https://www.ostraining.com/blog/coding/phpini-file/ has a very easy tutorial to find this.

    Once you have found this location you can get started. Find a directory where you plan to keep this file – ex: if you want to use /var/www/html . Then you can run these commands:

    cd /var/www/html
    sudo wget https://curl.haxx.se/ca/cacert.pem

    You have now downloaded this file to the /var/www/html directory. You can now edit your php.ini file (using the location you found earlier) Add this line to your php.ini file:

    curl.cainfo = “/var/www/html/cacert.pem”

    save your php.ini file. Not 100% sure if a restart of apache is necessary or not. to be safe run this command next:

    sudo service httpd restart

    you are done!

    Dear @ogdennews…Thank you for your response! I apologise in advance for being very beginner in all this. I was able to get through the tutorial to find where the php.ini file is located.
    Once I download the file to a chosen directory, how do I access that php.ini file? I tried to access it from my FTP program but couldn’t find it..

    Thank you in advance!

    @victoriagracelopez

    That’s alright. We all started in the same place – not knowing anything.

    Do you have SSH access to your server? You will most likely not have permissions to modify the file through FTP, so SSH will be the way you want to go.

    Who do you host your site through? You should visit the help section on their website, as they should have instructions on how to access their specific servers through SSH.

    If you DO have SSH access – do you have any experience using it to run commands?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘ERROR: Dropbox API: (77) Problem with the SSL CA cert (path? access rights?)’ is closed to new replies.