• Hi
    I have SSL on my site, Im trying to load an RSS file from my own site with pipes (reason is not relevant). However Im getting the following error:
    Error: [cURL error 60: SSL certificate problem: self signed certificate in certificate chain]

    According to a post found here –
    https://stackoverflow.com/questions/21187946/curl-error-60-ssl-certificate-pr%C3%B0blem-self-signed-certificate-in-certificate-c

    I can add :
    curl_setopt ($curl_ch, CURLOPT_CAINFO, dirname(__FILE__).”/cacert.pem”);
    (since I cant edit the php.ini file)

    And that will solve it. However I dont know where, in your plugin code, to put this. Could you provide some pointers?
    Obviously it needs to be added in the cUrl calls but Im not sure where they are (aside from 2 in the cronjob.php file).

    • This topic was modified 7 years, 4 months ago by webfeat. Reason: more info
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter webfeat

    (@webfeat)

    additional note

    In cronjob.php is :
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

    in the post I listed above it says this is extremely bad for security reasons.

    If it helps anymore..
    Wordpress is on a HTTPS site.
    The file Im trying to load is a php file, within wordpress, outputting as RSS, its grabbing the content from another site (standard http) and editing it slightly for Pipes to use. The php file works fine on its own, its only pipes that has the issue.

    • This reply was modified 7 years, 4 months ago by webfeat.
    Thread Starter webfeat

    (@webfeat)

    To add yet more info… the pipes cron doesnt work anyway. From looking,
    https://domain.com/?pipes=cron&task=callaio

    is what calls the cron but this is redirecting to
    https://domain.com/idp/profile/SAML2/Redirect/SSO;jsessionid=173363D3E154DAFB2BC7E4BB7EC9158F?execution=e1s1

    likely some issue here with site security. This is why, in another ticket, I asked if we could run the cron ourselves from a specific url but you said thats not possible. So it seems for us, your cron doesnt work in any form and has to be updated manually.

    Hi,

    With my experience of using this powerful plugin, in order to avoid your issues, I created a special add-on for WPPipes. That add-on allows WPPipes running on other sites but still able to post to the main site. Even I am using WPPipes with that add-on on localhost to post remote to my live site :D!

    Hopefully you feel interested in my way :)!

    Thread Starter webfeat

    (@webfeat)

    not at all, its not relevant to my issue.

    would like to ask WP Pipes Devs, again, to please make a full url for the cronjob, not the domain.com?pipes=cron&task=callaio as this simply wont work for everyone. Some of us need to call a specific page in our cronjobs. I dont see why this cant be done, why cant we use /wp-content/plugins/wp-pipes/cronjob.php?pipes=cron&task=callaio ?

    • This reply was modified 7 years, 4 months ago by webfeat. Reason: extra info

    Hi,

    Maybe the authors do not have time for updating the plugin with your idea recent time.

    But I checked the code of WPPipes and I think it is possible to create a php file like you asked to call cronjob.

    Try to do it by yourself!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with SSL’ is closed to new replies.