Habe vor zwei Tagen auf das Update auf die 3.0 installiert. Seitdem bekomme ich mit PHP_CURL keine SSL Vebindung mehr zu einer bestimmten Seite, welche im Browser allerdings aufrufbar ist. Es kommt immer die Fehlermeldung: " ssl connection timeout". Andere Seiten, wie z.B. https://www.google.de funktionieren.
Ich bin gerade ein wenig ratlos und könnte einen Tipp vertragen
Hier mein Code:
<?
$sAnzeigerAnmeldung_URL = 'https://leserservice.wa.de/abo/benutzer/startseite/Anmelden';
// Curl initialisieren und Optionen setzen
$sCookieFile = tempnam(sys_get_temp_dir(), 'Cookie_Anzeiger');
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $sAnzeigerAnmeldung_URL);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE);
curl_setopt($ch, CURLOPT_COOKIEJAR, $sCookieFile);
curl_setopt($ch, CURLOPT_COOKIEFILE, $sCookieFile);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
// Für SSL Erforderlich
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
$sResult = curl_exec($ch);
if (curl_errno($ch))
{
// Fehlerausgabe
print curl_error($ch);
}
?>