• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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