Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jeroenvanrensen's avatar

Laravel HTTP - cURL error 60: SSL certificate problem: unable to get local issuer certificate

Hi,

I'm creating a game website with Laravel using this API and I got this message:

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) 

What can I do to fix this?

I already tried the answer on this question on StackOverflow, but it doens't work for me.

I also saw this:

Database name seems incorrect

You're using the default database name laravel. This database does not exist.

Edit the .env file and use the correct database name in the DB_DATABASE key.

But I guess it has nothing to do with my error.

Can anyone please help me?

Thank you! Jeroen

0 likes
4 replies
mvd's avatar

Hi @jeroenvanrensen

You have to make sure SSL / HTTPS is enabled. Search for 'wampserver enable ssl error 60' on Google

mvd's avatar

If you run

phpinfo();

in a php script and call this php file in your browser, search for 'php.ini' you can see which is in use.

Please or to participate in this conversation.