upgrade - Wordpress automatic update error. Download failed : SSL certificate problem: unable to get local issuer certificate, &

Wordpress 3.9.4 upgrade to the latest version is giving the following error.Download failed.: SSL certificate problem: u

Wordpress 3.9.4 upgrade to the latest version is giving the following error.

Download failed.: SSL certificate problem: unable to get local issuer certificate", "Installation Failed".

Wordpress 3.9.4 upgrade to the latest version is giving the following error.

Download failed.: SSL certificate problem: unable to get local issuer certificate", "Installation Failed".
Share Improve this question asked Mar 21, 2018 at 21:24 Hiren ParghiHiren Parghi 1014 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

This error indicates that your SSL certificate has either expired or is corrupted. I came across this error recently on a local Wordpress installation and the solution is as follows:

  1. Download the latest cert.pem file from https://curl.haxx.se/docs/caextract.html
  2. Save this file (called cacert.pem) in your php installation directory
  3. Open php.ini in an editor and search for curl.cainfo
  4. If this exists and is commented out (';' in front) delete the ';' and add the full path to the cacert.pem file
  5. If this does not exist find [curl] in php.ini and add the line curl.cainfo = "C:\Program Files (x86)\PHP\v5.5\cacert.pem" where the path is to your cacert.pem file. For example, my php.ini file looks like this
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
curl.cainfo = "X:\xampp\php\cacert.pem"

After you have done this restart your web server.

Your Wordpress upgrade should work after this has been completed.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745230333a4617649.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信