1

Topic: Multiple domains certificate

How do I set the iRedMail certificate to support multiple domains? My server serves mail for 2 domains -domain1.com and domain2.com?

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Linux/BSD distribution name and version: Ubuntu 14.04
- Related log if you're reporting an issue:
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Multiple domains certificate

Excuse me, multiple ssl certificate for web service (https) or IMAP/POP3/SMTP?

3

Re: Multiple domains certificate

The iRedMail certificate is self signed, all you'd have to do is generate a new Self Signed Cert with Multiple Hostnames: http://fbcs.co.uk/self-signed-multiple- … tificates/
this will have issues that the Certificate won't be trusted, just as now; if you want to solve this you'd have to purchase a signed SSL Cerficate [Multiple domain in your case]

HTTPS and IMAP over TLS and POP3 over TLS support SNI which means you can have Multiple Regular SSL Certs being served dynamically. SMTP does not. (unless you do some smart NGinx Reverse Proxy trickery)

4

Re: Multiple domains certificate

To use multiple ssl certificate for smtp service, here's another solution:
http://blog.wpkg.org/2013/07/31/postfix … tificates/

Or run multiple Postfix instances: http://www.postfix.org/MULTI_INSTANCE_README.html

For IMAP/POP3 services, check Dovecot official document please:
http://wiki2.dovecot.org/SSL/DovecotConfiguration

And my question is, do you really need multiple ssl certificate for POP3/IMAP/SMTP? Or i misunderstood your question, and you just want this for web service?

5

Re: Multiple domains certificate

Oh yeah, I forgot to mention what I said only applies to serving over 1IP