I am integrating Woo-commerce API's in my Laravel 5.6 site using Woo-commerce official rest sdk. I made a link using authentication endpoint URL.Which is mention at here .
When user clicks the link it takes the user to Woo-commerce authentication page, where user login and Approve the request.
After approving the request it should take me to return url which i mention in the link. Instead it shows me the following error.
Error: cURL error 60: SSL certificate problem: unable to get local issuer certificate.
I have tried this. But it's also not working.
I put the cacert.pem in '/etc/ssl/certs' directory, also make the entry in php.ini like
curl.cainfo = "/etc/ssl/certs/cacert.pem". But it's not working.