Emails (using SMTP) not working, issue with wildcard certificate and server key error - Oracle Linux 8.5 - New install v3.9.0

I just had to do this the other day, but it’s manually setting the curl cacert path in php, I found an example on SO: curl: (60) SSL certificate problem: unable to get local issuer certificate - Stack Overflow

You could try that and see that resolves the curl error.