Problem with SSL for servername

Hello.

An error occurs when trying to import a certificate:
The supplied certificate chain does not cover the domain of this XMPP service.

I have a problem with a certificate issued on servername.domain.com
For a certificate issued on *.domain.com it works without any problems.
How to make it work for a specific server name?

In the server settings section I see something like this:
Server name: domain.com
Server Host Name (FQDN): servername.domain.com

The certificate that is used must cover both the XMPP domain name as well as the server host name.

You have configured your XMPP domain name to be domain.com, which is not covered by a certificate for (only) servername.domain.com.