After downloading the new cacert.pem file, from https://curl.se/download.html Navigate to this path "...\paypal\rest-api-sdk-php\lib\PayPal\Core" and replace the existing cacert.pem file with the new file you have downloaded. Problem solved.
... View more