![]() ![]() It's called phpForApache.ini and you will need to make the same changes to these files for your web application to work with cURL.Īfter changing the files, restart Apache if it was running. ![]() Theres an windows tool that can request a ready-to-use certificate. ![]() Remove the semicolon and add the path to your cacert.pem file, so that the line reads:Ĭurl.cainfo = C:\wamp64\certificates\cacert.pem The Windows XAMPP software runs an Apache webserver. Go into EACH of these directories and modify the php.ini files. You will see 2 or more subdirectories with the versions of the installed php versions Then create C:xampphtdocsjoomla to install Joomla in. You can see the folder of installation when opening the panel: The directory specified should contain the Apache folder. If that is the case then suggest you uninstall xampp, delete the xampp folder and re-install xampp. The path to the configuration file depends on the folder you chose during setup of XAMPP control panel. For example, C:\wamp64\certificatesģ- move the downloaded file "cacert.pem" into that directoryĤ- go to your WAMP's PHP directory, on my machine it's at C:\wamp64\bin\php There are two ways to locate it: Directly from the XAMPP control panel: Using file explorer. haxx in the URL doesn't look very trustworthy, but that's from the official cURL homepage, lol.Ģ- create a directory within your Wampserver directory. 1 I have this version of Apache installed: ApacheFriends XAMPP (Basispaket) version 1.6.8 Apache 2.2.9 MySQL 5.0.67 (Community Server) PHP 5.2.6 PHP 4.4.9 PEAR OpenSSL 0.9.8i The ssl certificate was enabled, but I get this error on browser if I try to access : localhost uses an unsupported protocol. but SSL needs to be configured with a certificate. This tutorial takes you through the steps. GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see ) in GuzzleHttp\Handler\CurlFactory::createRejection() (line 201 of C:\wamp64\Cause: XAMPP SSL Configuration Tutorial Configure SSL on Localhost. Here an example from Drupal: Local Drupal installation: cURL error 60: SSL certificate problemĬURL error 60: SSL certificate problem: unable to get local issuer certificate Your web applications running on your local machine, such as for example Drupal running on Wampserver or XAMPP on your computer or laptop, might encounter some errors when trying to use cURL to access external resources through the internet. XAMPP or Wampserver Local Drupal installation: cURL error 60: SSL certificate problem 1- download a certificate file here: 2- create a directory within your. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |