no events loading / SSL issue
-
Hello,
I was surprised this morning by seeing my calendar was not working.
I checked the wordpress debug, and I saw that SSL was giving an issue : file_get_contents(): Failed to enable cryptoI change the code of your plugin in file : wp-content/plugins/ics-calendar/functions.php :
$dargs=array(“ssl”=>array(“verify_peer”=>false,”verify_peer_name”=>false),”http”=>array(‘timeout’ => 60, ‘user_agent’ => ‘Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/3.0.0.1’));
$url_contents = file_get_contents($url, false, stream_context_create($dargs));this made it work.
Here is the URL of the ical if you want to test : webcal://p36-caldav.icloud.com/published/2/MTg0OTYxOTkxMTg0OTYxOeDK5bUiQIhap9IqtaKkY7rhgY54XQpKKR53WUamHpFi6IedDgcbGu4Q8S5TVNiMKy4uJqcZ0OKv6oe2gPzCzvgis this a problem of my server config or it’s Apple SSL Cert that is not ok anymore ??
if it’s Apple problem then maybe the workaround could help for other people ??
- The topic ‘no events loading / SSL issue’ is closed to new replies.