Reputation: 43
I am trying to add install modules to a test Drupal site however I keep getting the following error: Failed to fetch file due to error "cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)" Unable to retrieve Drupal project from https://www.drupal.org/project/ctools/releases/8.x-3.4.
Things I have tried so far:
Upvotes: 1
Views: 3979
Reputation: 489
WAMP local server. Solved! with 3 simple steps
Upvotes: 0
Reputation: 43
We figured it out, turns out wamp has multiple php.ini files and I was updating the wrong one >.<
For reference, it should be: C:\wamp64\bin\apache\apache2.4.41\bin\php.ini
Upvotes: 1
Reputation:
;;;;;;;;;;;;;;;;;;;;
; php.ini Options ;
;;;;;;;;;;;;;;;;;;;;
curl.cainfo = "/path/to/cacert.pem"
php.ini
file, use this command (assuming that php is installed at /etc/php/
: sudo find /etc/php/ -name php.ini
Upvotes: 3