• I updated to the lastest version of the calendar plugin and this morning I find this error:
    <<The following error(s) occurred: http_request_failed
    SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>>

    I’ve uninstalled, deactivated, re-done everything with the same results.
    I need this working before a demo on next Tuesday!! Help please….

Viewing 9 replies - 16 through 24 (of 24 total)
  • @stoutdesign: i’m not sure it’s a safe patch for people b/c i’m basically overriding the SSL certificate validity check in WP’s HTTP Request class. do you think this could be a potential security risk, even though the SSL is coming from an obviously-trusted source (google)?

    based on the little time i looked at it, i think the error is coming from WP’s HTTP code, not yours. but i don’t know b/c i’ve never looked at WP code before last night

    Plugin Author stoutdesign

    (@stoutdesign)

    @schwenkbl – I don’t know all the internals of the WP_Http class but do think in this specific instance (since we’re dealing specifically with Google calendar), bypassing sslverify probably isn’t that big of a deal. I would love it if someone else with more experience using this class could help. I was thinking that I can add a global setting in the next release to disable the sslverify option if needed.

    For everyone else out there, you can try changing line 40 of the gcalendar-wrapper.php from this
    $result = $request->request($calUrl);
    to this

    $result = $request->request($calUrl, array('sslverify' => false));

    If this works for any of you, please let me know so I can roll this into a future release. I can’t replicate the issue on my servers and could use the help testing this out.

    @vikjohn – Glad to hear the workaround did the trick for you. The aim of this plugin is to override the color scheme or ‘skin’ the calendar for a site. The default Google calendar embed code doesn’t allow this so I would appreciate if you give the code above a try and let me know your results.

    Hello from France :

    I try ” $result = $request->request($calUrl, array(‘sslverify’ => false));”

    It works.
    Thanks
    DTS

    @stoutdesign:
    Your suggestion works also for me:

    For everyone else out there, you can try changing line 40 of the gcalendar-wrapper.php from this
    $result = $request->request($calUrl);
    to this

    $result = $request->request($calUrl, array(‘sslverify’ => false));

    Plugin Author stoutdesign

    (@stoutdesign)

    @rotezora and DTSSSE – great to hear it works for you. I’ll roll an option into the next release to disable sslverify. I’ll post back here when it’s ready.

    For everyone else out there, you can try changing line 40 of the gcalendar-wrapper.php from this
    $result = $request->request($calUrl);
    to this
    $result = $request->request($calUrl, array(‘sslverify’ => false));

    Me help too
    Thanks

    This fix:

    “$result = $request->request($calUrl, array(‘sslverify’ => false));”

    also worked for me.

    Thanks!

    The same fixed worked for me.

    If it helps it was on line 36 (plugin v. 1.2.3, WP v. 3.2b2, running on localhost via MAMP. PHP 5)

    It works for me… thanks ??

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘[Plugin: Stout Google Calendar] SSL certificate problem’ is closed to new replies.