Login to Members Area

Choose the service you want to log in
     
24x7x365 Presence
1-888-289-2246
Live Chat

Hosting Blog

 

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.

Sachin Friday 27 September 2013 - 10:27 pm | | Default

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.