You don’t need to regenerate one.
Your servers cURL bundle is out of date
This may help https://neurotechnics.com/blog/ssl-ca-bundles-for-curl-and-php/
You need to locate cacert.pem on your system and replace it with the file on curl - Extract CA Certs from Mozilla