Topic on Project:Support desk

Jump to: navigation, search

Fetching an RSS feed from a secure tomcat web server into Wiki

2 (talkcontribs)

Trying to resolve a problem where I'm trying to request an RSS feed from my WIki server to a secure tomcat web server (under my control) but I'm getting this error:

Failed to load RSS feed from Error fetching URL: Peer certificate cannot be authenticated with known CA certificates

I'm using the RSS extension by the way.

This may be a simple fix either by importing the ssl certificate from the server i wish to get the feed from or by maybe telling PHP to ignore the certificate ? Not sure since I don't really know if the Wiki PHP code is using cURL to do the request or something else. And I wouldn't be too sure on where to import it to if i need to do this.

I tried going into the /includes/HttpFunctions.php file and setting "protected $sslVerifyHost = false;" and "protected $sslVerifyCert = false;" but no go.

any help would be nice.

Chris (talkcontribs)

I haven't tested it yet but after some thought, i think i need mod_ssl and the server cert to get the ssl feed ; all other traffic will be handled over the standard port 80

Reply to "Fetching an RSS feed from a secure tomcat web server into Wiki"