How to fix – WordPress Upgrade Download failed. SSL certificate problem: unable to get local issuer certificate

Getting this error when trying to upgrade WordPress?

Download failed.: SSL certificate problem: unable to get local issuer certificate

Do this.

1. Download?the cert.pem file from here. Right click on the link and click save link as.

cert

2. Place the cert.pem file in your php folder.
IE:?C:\Program Files (x86)\PHP\v5.5\cacert.pem

3. Edit the php.ini and search for “curl”. Edit the curl.cainfo line with the following.
curl.cainfo = “C:\Program Files (x86)\PHP\v5.5\cacert.pem”
Save the php.ini file.

php ini

4.?Now try your upgrade again. I didn’t have any issues after performing those steps.

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

4 Trackbacks