- Plesk for Windows
- Plesk for Linux
When connecting to a mailbox email@example.com 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.
Configure a mail client following the article Configure mail client for secure connection.
Note: Assigning separate SSL certificates for different domains on a local mail server in Plesk is not supported.
This functionality is planned to be implemented in the future stable release of Plesk.