markjaquith / WordPress-Skeleton

Basic layout of a WordPress Git repository. I use this as a base when creating a new repo.
1.85k stars 600 forks source link

Installation failed: Download failed. cURL error 60: SSL certificate problem: self signed certificate in certificate chain #112

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi There,

I have this strange problem. I am getting this error while installing a new plugin, while downloading and installing a new theme and while updating the WordPress( i am getting notification to update saying: "You are using a development version of WordPress. You can update to the latest nightly build automatically". Though the version is 4.9.6)

Error is: Installation failed: Download failed. cURL error 60: SSL certificate problem: self signed certificate in certificate chain

To fix the error few steps that i tried, but did not work:

  1. Downloaded the file cacert.pem and kept it in C:\MAMP\bin\php\php7.2.1\extras\ssl\cacert.pem
  2. In php.ini file, added code curl.cainfo = "C:\MAMP\bin\php\php7.2.1\extras\ssl\cacert.pem".

PFA screenshots for reference.

Please help! image

image

updating worpress Thank you, Biswajit Kar

markjaquith commented 6 years ago

This can’t possibly have anything to do with this repo.

suzanacavalcante commented 1 year ago

Opa, não sei se encontrou uma solução para o seu problema.

Caso não tenha. Basta adicionar na ultima linha o bloco de comando abaixo em seu wp-config.php

/**