WordPress Upgrade Download failed.: SSL certificate problem

When upgrading wordpress to newer release, sometimes it may come out following 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

Some fixes on web forum suggest to edit curl config in php.ini file. It can be fixed quickly without touching this system level configuration. It can be fixed by editing your CURRENT theme file.

Add following codes to theme functions.php file:

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

Now try to upgrade your wordpress again and it will work!


- has written 121 posts.

Leave a Reply

You must be logged in to post a comment.