Hallo,
ich will über curl_* einen HTTP-Post absetzen und bekomme folgenden Fehler: "ErrorNr: 60 - SSL certificate problem, verify that the CA cert is OK in"
$headers = array();
$headers[] = "Content-Type: text/xml";
$headers[] = "Content-Length: " . strlen($request);
$curl = curl_init("https://$host$path");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
curl_setopt($curl, CURLOPT_POSTFIELDS, $request);
$result = curl_exec($curl);
if ( curl_errno($curl) ) {
user_error("ErrorNr: ".curl_errno($curl).' - '.curl_error($curl), E_USER_ERROR);
} // if
Installition XAMPP unter Windows, https-Zugriff auf die Seite funtioniert, auch der https-Zugriff auf meinen Server.