15/01/2016

Drupal 8 error: Failed to get available update data

Update error / problem

You get errors in:
Home > Administration > Available updates

  • Failed to get available update data.
  • Failed to get available update data for 3 projects.
  • Failed to check available update data for Bootstrap.

You get Error Message in:
Home > Administration > Reports > Recent log messages 

  • GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in GuzzleHttp\Handler\CurlFactory::createRejection() (line 187 of C:\xampp\www\drupal8\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php).

 Solution

  • Copy the entire file  http://curl.haxx.se/ca/cacert.pem
    and save it in for example at "C:\xampp\php\cacert.pem"
  • Then in your php.ini file insert or edit the following line:
    curl.cainfo="C:\xampp\php\cacert.pem"
  • Restart Apache



1 comment:

Post a Comment