I am trying to issuing a web request to ACS(Microsoft Access Control Service) containing User Id and password and will receive authentication apikey from ACS.But When I send request it gives below error
Curl error: SSL certificate problem: unable to get local issuer certificate
PHP Code
$temp = array('wrap_name'=>$wrap_name,'wrap_password'=>$wrap_password,'wrap_scope'=>$wrap_scope);
$temp = http_build_query($_POST);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$baseAdress);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $temp);
$output = curl_exec ($ch);
if(curl_exec($ch) === false)
{
echo 'Curl error: ' . curl_error($ch);
}
else
{
echo 'Operation completed without any errors';
}
curl_close ($ch);