gfarrell / WPRavenAuth

Raven (ucam_webauth) authentication plugin for Wordpress. Now maintained by @mo-g (mo-g/WPRavenAuth)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lookup Certificate

mhhadfield opened this issue · comments

Here is the error we get:

Warning: fopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in C:\www\trin.cam.ac.uk\wp-content\plugins\WPRavenAuth-master\app\lib\ibis-client\ibisclient\client\IbisClientConnection.php on line 333



Warning: fopen(): Failed to enable crypto in C:\www\trin.cam.ac.uk\wp-content\plugins\WPRavenAuth-master\app\lib\ibis-client\ibisclient\client\IbisClientConnection.php on line 333



Warning: fopen(https://www.lookup.cam.ac.uk/api/v1/person/crsid/ap896?fetch=jdCollege%2Call_insts&flatten=true): failed to open stream: operation failed in C:\www\trin.cam.ac.uk\wp-content\plugins\WPRavenAuth-master\app\lib\ibis-client\ibisclient\client\IbisClientConnection.php on line 333


I've emailed the UIS who confirmed that this isn't a raven error but to do with the LDAP changes made recently. I've forwarded the error on to the Lookup UIS team.
Meredith

Edited above

Reply from AIS TLDR:

To fix the problem, you will need to update WPRavenAuth to use the latest copy of the Ibis client library from here http://dev.csi.cam.ac.uk/trac/lookup/browser/trunk/downloads/php

@Burgch is it possible to edit the lookup link in the plugin to the new location?
thanks,
Meredith

The site tells me I am not authorised to make a pull or to make a fork, but please find a zip with the lib/ibis-client folder replaced with the new one:
WPRaven.zip

@mhhadfield you should be able to fork the repo as it is a public repo, you won't be able to commit directly to this repo without being made a collaborator, but if you make a fork and open a PR then @Burgch should be able to review and merge.