• Resolved TechnikSurfer

    (@techniksurfer)


    Hi,

    I’ve got a problem. The Mailchimp Plugin is not connected with Mailchimp anymore. The Error: HTTP Error: Peer
    certificate cannot be authenticated with given CA certificates.

    Because you write in your FAQ about the PHP CURL I wrote with my provider. PHP CURL is installed correctly.

    Can you please help me?

    Thanks a lot.

    All the Best

    Moritz

    https://ww.wp.xz.cn/plugins/mailchimp-for-wp/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello TechnikSurfer,

    Can you please share details as to what version of CURL is installed on your server. There is a known issue with CURL 7.19.x. If your web host is using it please ask them to update CURL to the most recent stable version as version 7.19 is over 6 years old.

    If they are unwilling to do it, another option is to install the “Core Control” plugin and disable CURL from there: https://ww.wp.xz.cn/plugins/core-control/ .

    Thread Starter TechnikSurfer

    (@techniksurfer)

    Hi,

    the SSH says that 7.22.0 is installed:

    dpkg -l | grep curl
    ii curl 7.22.0-3ubuntu4.14 Get a file from an HTTP, HTTPS or FTP server
    ii libcurl3 7.22.0-3ubuntu4.14 Multi-protocol file transfer library (OpenSSL)
    ii libcurl3:i386 7.22.0-3ubuntu4.14 Multi-protocol file transfer library (OpenSSL)
    ii libcurl3-nss 7.22.0-3ubuntu4.14 Multi-protocol file transfer library (NSS)
    ii libcurl4-nss-dev 7.22.0-3ubuntu4.14 Development files and documentation for libcurl (NSS)
    ii php5-curl 5.3.10-1ubuntu3.19 CURL module for php5

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi TechnikServer,

    That is weird, version 7.22 (albeit old, it’s over 5 years old) should be high enough to perform remote requests a HTTPS server. As you have shell access, is updating CURL an option for you? The latest version is 7.40.x and should definitely work.

    Also, does running the following work for you?

    curl -L https://us1.api.mailchimp.com

    If that doesn’t work, there are other options.

    1. Install the Core Control plugin and disable CURL as a transport, so WordPress will use the next available HTTP transport (Streams, usually).

    2. Add the following line to your theme its functions.php file to skip SSL certificate verification. I don’t recommend doing this long-term.

    add_filter( 'https_ssl_verify', '__return_false' );

    PS. What version of WordPress are you on?

    Thread Starter TechnikSurfer

    (@techniksurfer)

    Hi,

    yes, this is working in the SSH. I searched for how to update curl via SSH but only found this code:

    apt-get update
    apt-get install php5-curl

    But my virtual server says:

    php5-curl is the latest version

    Is there any other possibility to update CURL via SSH (I’m using ubuntu).

    I’m using the WordPress version 4.2.3. I didn’t test it with the second plugin because it would be great if it would work with the update of CURL :D.

    Thanks for your help.

    Moritz

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘HTTP Error’ is closed to new replies.