Skip to content

Commit 5f7a669

Browse files
javiereguiluzxabbuh
authored andcommitted
Added a note about the usual cURL certificate problem
1 parent 0607517 commit 5f7a669

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

setup.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,28 @@ to meet those requirements.
6262
If the installer doesn't work for you or doesn't output anything, make sure
6363
that the PHP `Phar extension`_ is installed and enabled on your computer.
6464

65+
.. note::
66+
67+
If the SSL certificates are not properly installed in your system, you
68+
may get this error:
69+
70+
cURL error 60: SSL certificate problem: unable to get local issuer certificate.
71+
72+
You can solve this issue as follows:
73+
74+
#. Download a file with the updated list of certificates from
75+
https://curl.haxx.se/ca/cacert.pem
76+
#. Move the downloaded ``cacert.pem`` file to some safe location in your system
77+
#. Update your ``php.ini`` file and configure the path to that file:
78+
79+
.. code-block:: ini
80+
81+
; Linux and macOS systems
82+
curl.cainfo = "/path/to/cacert.pem"
83+
84+
; Windows systems
85+
curl.cainfo = "C:\path\to\cacert.pem"
86+
6587
Basing your Project on a Specific Symfony Version
6688
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6789

0 commit comments

Comments
 (0)