Symptoms
-
Mail client returns the following warning about a certificate mismatch when Autodiscovery is configured:
-
The domain doesn't have any mail certificate in Domains > example.com > Mail Settings > SSL/TLS certificate for mail:
Cause
This is expected because the Autodiscovery mail feature creates an XML response with the domain name. See Plesk Obsidian Official Documentation for more details.
Resolution
To keep using the domain name in mail client, configure a certificate in the domain:
-
Install a certificate in the domain including the domain name: How to install an SSL certificate for a domain in Plesk
-
Go to Domains > example.com > Mail Settings > Set the SSL/TLS certificate for mail option with the certificate created in the previous step
Use the Plesk hostname or another domain name custom domain name for all mail autodiscovery:
- Log in to Plesk GUI
- Navigate to Tools & Settings > Mail Server Settings > Mail autodiscover
- Specify the domain name to be used in the field Specify a custom domain name for mail autodiscover and click OK