@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);