SSL peer certificate or SSH remote key was not OK

I’m getting the bellow error :
Curl error (60): SSL peer certificate or SSH remote key was not OK for https://mirrors.fedoraproject.org/metalink?repo=epel-9&arch=x86_64&infra=$infra&content=pub/rocky [SSL certificate problem: unable to get local issuer certificate]