Check out example codes for "cURL error 60: SSL certificate problem: unable to get local issuer certificate (see". It will help you in understanding the concepts better.

Code Example 1

Do not ever modify files in the vendor/ folder. Ever. They can and will be
overwritten on the next composer update you run.

Here is my Solution for WampServer

I am using PHP 7.1.9 for my WampServer, so change 7.1.9 in the example below 
to the version number you are currently using.

1. Download this file:
2. Place this file in the C:\wamp64\bin\php\php7.1.9 folder
3. Open php.iniand find this line:

4. Change it to:
	curl.cainfo = "C:\wamp64\bin\php\php7.1.9\cacert.pem"

5. Make sure you remove the semicolon at the beginning of the line.

6. Save changes to php.ini, restart WampServer, and you're good to go!

Learn ReactJs, React Native from