• Resolved olidzw

    (@olidzw)


    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 crypto

    I 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/MTg0OTYxOTkxMTg0OTYxOeDK5bUiQIhap9IqtaKkY7rhgY54XQpKKR53WUamHpFi6IedDgcbGu4Q8S5TVNiMKy4uJqcZ0OKv6oe2gPzCzvg

    is 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 ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author room34

    (@room34)

    You may want to try using https:// as the protocol instead of webcal://, although the plugin should be automatically handling that.

    I was able to get the feed to work on my test site with the URL either way, so I don’t believe this is an issue with your calendar (Apple). I think it’s possible there’s an issue with the version of OpenSSL on your web server.

    Thread Starter olidzw

    (@olidzw)

    thank you for checking.
    I’ll try looking in that direction (I’m the admin of the server)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘no events loading / SSL issue’ is closed to new replies.