Ketan Lathiya
Ketan Lathiya

Reputation: 732

Wordpress Update problemDownload failed.: SSL certificate

I want to update my WordPress version to 4.0, right now it is WordPress 3.2.1.
When I try to update it, I am getting the below error:

Download failed.: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Installation Failed

What is the solution for it? Please help me to figure it out.

Upvotes: 4

Views: 4938

Answers (1)

Ketan Lathiya
Ketan Lathiya

Reputation: 732

I am able to resolve this issue by adding below code in functions.php of my theme folder.

add_action('http_request_args', 'jkudish_http_request_args', 10, 2);
function jkudish_http_request_args($args, $url) {
$args['sslverify'] = false;
return $args;
}

I hope this can help someone :)

Upvotes: 15

Related Questions