• Resolved Tom

    (@lsrgsrd)


    Hello!

    When I try to Connect WordPress FreshMail addon after filling in API and API Secret keys, error is shown:

    Connection error – curl error message: SSL certificate problem: self
    signed certificate in certificate chain (60)!

    Do I need domain with SSL certificate to use that addon? I’ve used it for a while and it stop working one day (maybe because of WordPress update? don’t know).

    Website is wellbelicious.com WordPress 4.2.2, FreshMail 1.6.

    Thanks for any suggestions.

    https://www.ads-software.com/plugins/freshmail-newsletter/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author FreshMail.com

    (@freshmailcom)

    @lsrgsrd,

    Sorry for late replay. Please find below our suggestion.

    When trying to interact with FreshMail API (by WordPress addon), you may see an issue with about an SSL certificate problem.
    This tends to appear if your CA root certificate is out of date. If that’s the case, you won’t be able to conenct to FreshMail API. For example:

    Connection error – curl error message: SSL certificate problem: self
    signed certificate in certificate chain (60)!

    It’s a problem with “certificate authority,” a third-party group responsible for handling secure connections around the web. They establish digital “certificates,” which are a way of ensuring that there are valid connections between two machines (like your Server and FreshMail Servers). Without a certificate, the security risk between two machines is greater.
    When you receive this error, it likely means that your CA is out-of-date and needs to be updated. Generally, updating your operating system also updates your CA, and solves the problem.

    Please let us know if it works for you.

    …or you can do this (not recommended, but works 100%)

    Edit file: freshmail-newsletter/include/class.rest.php

    And after this:

    $resCurl = curl_init(self::host.self::prefix.$strUrl);
    			curl_setopt($resCurl, CURLOPT_HTTPHEADER, $arrHeaders);
    			curl_setopt($resCurl, CURLOPT_HEADER, false);
    			curl_setopt($resCurl, CURLOPT_RETURNTRANSFER, true);

    Add this
    curl_setopt($resCurl, CURLOPT_SSL_VERIFYPEER, false);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Connect problem (SSL certificate issue)’ is closed to new replies.