• 1-888-289-2246
  • 24x7x365 Presence

Error while activating an API key in WordPress for cURL


Sometimes while activating an API for WordPress, we get the error below when cURL is enabled.

Error :-
=====
————————————————————————————-
CURL error: SSL certificate problem, verify that the CA cert is OK.
Details: error: 14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
————————————————————————————–

Cause :- This error means that cURL’s CA cert bundle on your server is out of date or does not exist.
=====

Fix :-
====

If you get this error for a website hosted on a Windows server, then you need to follow the steps below:-

1) Make sure you’ve first got the Curl’s CA cert available on the server and it shouldn’t be outdated.

2) If it’s not avaialble then first download it from the link below:-

http://curl.haxx.se/docs/caextract.html

3) After this, update the php.ini file by adding the line below:-

curl.cainfo = “PATH_TO/cacert.pem”

Restart web services and then again try to activate the API Key and this should have fixed the issue.

]]>


Leave a Reply

Your email address will not be published. Required fields are marked *