Just a note for some sites that may not completely support SSL/HTTPS.
Example of error
Here is an example of the type of error that we are referring to in this article:
An error occurred while updating BBQ Pro: Download failed. SSL certificate problem, verify that the CA cert is OK. Details : error : 14090086 : SSL routines : SSL3_GET_SERVER_CERTIFICATE : certificate verify failed
..and/or this error:
An error occurred while updating USP Pro: Download failed. SSL certificate problem: self signed certificate
..and/or this error:
http_request_failed : SSL: CA certificate set, but certificate verification is disabled
These types of errors most commonly happen on localhost development environments, and/or on servers that do not fully support SSL. If you get such an error, try the following solution.
Step 1: Create the following folder if it doesn’t already exist:
Step 2: Create a new
.php file inside of that folder, and name it
ssl_verify.php or whatever you wish. Then inside of the file, include the following code:
<?php add_filter('https_ssl_verify', '__return_false'); add_filter('https_local_ssl_verify', '__return_false'); ?>
Nothing else whatsoever should be in that file. No white space before/after the code, nothing. Nada.
Step 3: Upload the file to your server. Then try again to auto-update the plugin. If it works, then you can delete the
ssl_verify.php file (or save it for the next auto-update).
As an alternate solution to try, here is something that worked for a particular user:
I figured out the problem and I am finally activated. I forgot to change one of the
sslverifysto true. Apparently theres an issue with mac OS X 10.10, and curl, which is what I’m running.
For similar localhost setups, that is something worth checking out.
If Nothing Else..
If the auto/one-click update still does not work, then you will need to update the plugin manually via SFTP or via the WP Admin Area by selecting the plugin ZIP file from your local machine (via Add Plugin > “Upload Plugin”).
Tip: here are the steps to download a copy of your plugin »