Hostname/IP doesn't match certificate's altnames

I need to configure a custom SMTP and when I try sending an email testing I get this error:

"error": "Hostname/IP doesn't match certificate's altnames: \"Host: is not in the cert's altnames: DNS:*,\""

any ideas?

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?