Hi, @SS-Cat, and welcome to the Netlify community site.
There is a community “common issue” topic about this here:
Would you please make the changes discussed there and then try renewing the SSL certificate in the Netlify web UI at “Site Name” > Settings > Domain management > HTTPS?
If that doesn’t resolve the issue, please let us know.