• Resolved riversoul

    (@riversoul)


    Hi,

    I can’t use anymore every kind of plug-in that uses API (instagram, google maps, WPML translations…). The error that occurs is:
    cURL error 77: error setting certificate verify locations: CAfile: /web/htdocs/www.xxxx.it/home/wp-includes/certificates/ca-bundle.crt CApath: none

    I verified and actually the right root in my case should be: /web/htdocs/www.xxxx.it/home/wp-includes/blocks/certificates/ca-bundle.crt

    Do you think that if I change the location of the ca-bundle.crt by moving it from the folder ‘blocks’ to ‘wp-includes’, I will resolve the problem?

    Many thanks,

    Elena

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Hi Elena,

    Unfortunately related cURL errors are something that must be resolved at host level. While you’ve already confirmed a correct ca-bundle.crt file there may be issues in relation to your PHP configuration such as the cacert or php.ini file.

    You’ll find more details on this in this previous GitHub issue, or by reviewing another users experience in this support topic.

    When speaking with your hosting provider support team make them aware that the plugin needs to be able to connect to https://sitekit.withgoogle.com. This can be checked with wp-cli using the following command:
    wp eval 'print_r(wp_remote_head("https://sitekit.withgoogle.com"));'

    Let us know how you get on after communicating with your hosting provider.

    Thread Starter riversoul

    (@riversoul)

    Ok, I’ve just written to my service provider. But I didn’t get if in the meantime I need to change the path or not. Could you please confirm that?

    Many thanks,

    Elena

    Plugin Support James Osborne

    (@jamesosborne)

    Unfortunately I can’t be sure if it’s a correct path that you’ve applied. Depending on your hosting platform and operating system the path may vary. I’ve never encountered a user having to change the ca-bundle.crt here in the forums, so I would image you don’t need to change the path for this file.

    If you’re using Windows hosting I would check the cacert.pem file configuration as per the mentioned GitHub issue.

    Let us know how you get on anyway.

    Thread Starter riversoul

    (@riversoul)

    Hi,

    I solved this problem by moving the file from the folder ‘blocks’ to ‘Wp-content’.

    Elena

    Plugin Support James Osborne

    (@jamesosborne)

    Hi Elena,

    Great to hear it, many thanks for the update. We’ll keep this in mind should other users also encounter this same error. If you have any further queries be sure to get in touch.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘cURL error 77: error setting certificate verify locations’ is closed to new replies.