curl 60 error with https rss feeds

by doucheymcdoucherson, Thursday, March 27, 2014, 08:57 (3677 days ago)

getting this error when trying to use https rss feeds

2014-03-26 23:12:02error loading feed content: cURL error 60: SSL certificate problem: unable to get local issuer certificate

here are some example feeds:
https://github.com/Flexget/Flexget/commits/master.atom
https://code.google.com/feeds/p/comic-vine-scraper/downloads/basic
https://blog.pfsense.org/?feed=rss2

looks like there is a config parameter in web.php for curl to ignore ssl verification errors? but it doesn't?

$ grep -i curl.*ssl *
/web/selfoss/libs/f3/web.php: curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,FALSE);

curl 60 error with https rss feeds

by AlexB, Sunday, March 30, 2014, 19:25 (3673 days ago) @ doucheymcdoucherson

The file you're looking for is libs/SimplePie.php:

Add a curl_setopt($fp, CURLOPT_SSL_VERIFYPEER, FALSE); to the other curl_setopt calls somewhere around line 6850.

Alex.

curl 60 error with https rss feeds

by doucheymcdoucherson, Sunday, March 30, 2014, 23:28 (3673 days ago) @ doucheymcdoucherson

It works! Thanks so much. I've made a pull request on the selfoss github.

https://github.com/SSilence/selfoss/pull/505

curl 60 error with https rss feeds

by Wally, Friday, December 22, 2017, 22:16 (2310 days ago) @ doucheymcdoucherson

Hallo,
i would like install this nice RSS Reader.
I have a Win 10 PC with installed wamp.
The reader starts correctly, but when i add a rrs site, so i see nothing.
The log written this:
cURL error 60: SSL certificate problem: unable to get local issuer certificate

I'am finding this post, and i'am search of the web.php and found it in:
c:\wamp64\www\selfoss\vendor\bcosca\fatfree-core\web.php

Hmm,, this place of this file is different!?

In this file are also set : curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,FALSE);

What's wrong in my install?

Thx for answers.

Wally

curl 60 error with https rss feeds

by jtojnar, Saturday, December 23, 2017, 00:00 (2310 days ago) @ Wally

Hi,

as noted in the reply by AlexB, you would need to apply the hack to SimpePie, though now it would be in vendor/simplepie/simplepie/library/SimplePie/File.php around line 103 (search for curl_setopt($fp, CURLOPT_URL, $url);).

But disabling encryption checks is rarely a good idea – instead you should try to update your certificate bundle, see this answer on StackOverflow.

curl 60 error with https rss feeds

by Wally, Saturday, December 23, 2017, 02:34 (2310 days ago) @ jtojnar

Hi jtojnar,
it's works :-)
Thx for this very quickly solution!

Big thx!

Wally

RSS Feed of thread
powered by my little forum