To fix curl on windows:

Download the latest cacert.pem
https://curl.se/ca/cacert.pem
(right-click → Save as)

Move it somewhere permanent
Example: C:\wamp64\www\ozeki\deps\curl\cacert.pem

Tell PHP (and therefore cURL) to use it
Edit your active php.ini (the one shown by phpinfo()):
C:\wamp64\bin\apache\apache2.4.51\bin\php.ini

curl.cainfo = "C:\wamp64\www\ozeki\deps\curl\cacert.pem"
openssl.cafile = "C:\wamp64\www\ozeki\deps\curl\cacert.pem"
Restart Apache 