Getting SSL cerificate error when running automation test using PHP on LambdaTest

I am using PHPUnit to run my automation test. I am getting this error in the console regarding SSL certificate image

Could you please help me here

Regarding the ‘SSL certificate problem: unable to get local issuer certificate’ error. It is important that this applies to the system sending the CURL request, and NOT the server receiving the request.

  1. Download the latest cacert.pem from
  2. Add the following line to php.ini: (if this is shared hosting and you don’t have access to php.ini then you could add this to .user.ini in public_html). curl.cainfo="/path/to/downloaded/cacert.pem"
  3. Try running the test again.

Path should be enclosed under quotes