Moodle Plugin: SSL & cURL Errors

At Accredible we always strive to use best practices when it comes to security. Our Moodle plugin connects to our API via a secure connection with an up to date set of cyphers. We sometimes see errors from older server setups or misconfigured SSL settings.


curl: (35) SSL connect error

This error usually means that there's some problem with your SSL setup, the mostly likely issue being that you just need to update your cypher set.

To test your cURL SSL setup we recommend running the following diagnostics and sending the result to

openssl ciphers -v | awk '{print $2}' | sort | uniq
openssl s_client -connect
curl --version


To update your cURL installation: yum update curl.x86_64



cURL error 77: error setting certificate verify locations: CAfile:

This error usually means that you need to ensure that your PHP installation can access your root certificates to setup secure connections. 

We recommend:

  • Ensuring that your php.ini points to the correct certificate file
  • Ensuring that that your certificate file has the correct file permissions
  • Ensuring that your certificate file is up to date

There's some detailed guidance on this here: 


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.