Wordpress Upgrade Issue Download Error: SSL Certificate

I want to upgrade the version of WordPress to 4.0, now it is WordPress 3.2.1.
When I try to update it, I get the following error:

Download error: SSL certificate problem, verify that the CA certificate is in order. Details: error: 14090086: SSL procedures: SSL3_GET_SERVER_CERTIFICATE: certificate verification completed

Installation error

What is the solution for this? Please help me sort it out.

+4
source share
1 answer

I can solve this problem by adding the below code in the 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 :)

+15
source

All Articles