- Plesk for Windows
- Plesk for Linux
When connecting to a mailbox firstname.lastname@example.org using a mail client the following warning is shown:
CONFIG_TEXT: The certificate for this server is invalid
CONFIG_TEXT: certificate belongs to a different site, which could mean that someone is trying to impersonate this site
CONFIG_TEXT: The target principal name is incorrect
CONFIG_TEXT: Mail can't verify the identity of the server "mail.example.com".
CONFIG_TEXT: stream_socket_client(): Peer cartificate CN='example.com' did not match expected CN='example.org'
CONFIG_TEXT: Certificate subject and hostname mismatch
The error shows that the certificate from the error belongs to
Certificate in Tools & Settings > SSL/TLS Certificates > Certificate for securing mail is set to
Incorrect configuration of the mail client.
For Plesk Onyx:
Assigning separate SSL certificates for different domains on a local mail server in Plesk Onyx is not supported.
Configure a mail client following the article: Configure mail client for secure connection.
For Plesk Obsidian:
Secure the mail server for domain according to the instructions from the following article: