• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Anyone know how to add SSL certificate for mail subdomains

JohnBee

Basic Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian Version 18.0.62 Update #1
I would like to use custom hostnames - such as; imap.domain.name and smtp.domain.name, though I can't seem to get Plesk to play along

I was under the impression that I could install a wildcard cert to cover the subdomains, though Plesk does not seem to acknowledge the hostnames - ie, turn off SSL, connection made, turn-on SSL(in mail client), connection refused

Anyone have any tips of suggestions in getting such a setup working?
 
Not possible within the means of what Plesk provides.
You would need to manually adjust Postfix and Dovecot config files, to add the required SNI and certificate configuration for these subdomains.

For POP3/IMAP one may adjust/duplicate a config according to "/etc/dovecot/conf.d/14-plesk-sni-xxx.conf"
SMTP is a bit more problematic as the SNI configuration is stored as hash values in "/var/spool/postfix/plesk/certs" and this file get auto-regenerated by Plesk on every change of domains.
Maybe it's possible to define a second hash map for "tls_server_sni_maps" (see /etc/postfix/main.cf) and use the custom config stuff there.
 
Back
Top