Error: certificate has expired(Custom Email SMTP )

Hello Im setting up a custom email and upon testing i received this in logs.

{
“email_type”: “try_provider_configuration_email”,
“to”: “email@xyz.org.gh”,
“error”: “certificate has expired”
}

The certificate has not expired and Im confused