chdemko / joomla-external-login

The External Login project allows Joomla! to manage external Authentication Servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error at step Verify the service

bluesea88 opened this issue · comments

commented

Dear Christophe,

I install joomla-external-login and CAS Login into my joomla system.
I got the error [Curl error: error setting certificate verify locations].
Could you please help me solve the issue?
The following is the steps I found the error:

  • After login CAS server successfully, user could not login into joomla.
  • So I checked log in table [externallogin_logs] and found message "Unsuccessful verification of server 1".
  • I tried to read code and found that there was error when performing [Verify the service] in file caslogin.php (line 226 -234)
  • I trace error by the following code:
    if(curl_errno($curl)){
    echo 'Curl error: ' . curl_error($curl);
    }

ERROR FOUND: Curl error: error setting certificate verify locations: CAfile: cas_server.crt CApath: E:\cashttps://localhost:8443/cas/serviceValidate?ticket=........

Could you please guide me how to configure path for the Certification file?
Thank you so much for your work and your help.

The connection was configured as in the following picture:
connection_config

I think you should inverse path and file

Closing this issue as there is no input