Request webservice via SSL


I’trying to use prestashop’s webservice on website protected by an SLL let’s encrypt certificate, but it’s not working anymore.

it’s only work when i disable SSL check:

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);

it’s working fine in HTTP as well.

any idea to help me ?


let’s encrypt certificates have a short expiration date by default. Did you check if your SSL certificate is still valid?

yes it is, this certificate is managed by my hoster

Not a clue if your issue, but I had issue like yours when user was on Windows XP and using my software.

Been awhile back and not sure if Lets Encrypt solved but issue was on their end.

Maybe the CA root isn’t recognized by PHP: see