Error: Kreait\Firebase\Exception\Database\DatabaseError: cURL error 60: SSL certificate problem: unable to get local issuer certificate
-
Download this file: http://curl.haxx.se/ca/cacert.pem
-
Put this file in the C:\wamp64\bin\php[version of your php]
-
Open php.ini and search for: ;curl.cainfo
-
Change to: curl.cainfo = C:\wamp64\bin\php[version of your php]\cacert.pem
-
Be sure to remove the semicolon at the beginning of the ;curl.cainfo line
-
Save the php.ini changes, restart WampServer and you're done!
-
Baixe este arquivo: http://curl.haxx.se/ca/cacert.pem
-
Coloque este arquivo na C:\wamp64\bin\php[versão do seu php]
-
Abra php.ini e procure por: ;curl.cainfo
-
Altere para: curl.cainfo = C:\wamp64\bin\php[versão do seu php]\cacert.pem
-
Certifique-se de remover o ponto-e-vírgula no início da linha ;curl.cainfo
-
Salve as alterações php.ini, reinicie o WampServer e pronto!