How do I apply 1 cert to 2 virtual domains on one server?
However, I have 2 different virtual domains and from what I understand, you need to embed a domain name in your cert. So, it would seem that my single cert configuration won't work (without an expensive wildcard cert). I really don't want to have to set up 2 separate postfix installations if at all possible. I found one blurb online about setting up a separate IP on my Linode instance and virtually binding each domain name to each, but that looks pretty advanced and is way beyond my understanding of postfix (which I'm hoping is where changes would solely need to be made). Does anyone know of what options I have and how to get there?
Note, if I'm going to bother with a chained commercial/free cert then I want a configuration that will no longer cause certificate warnings, so please keep that in mind.
2 Replies
one certificate can be configureddoesn't seem to be clear
As you note, setting up multiple Postfix instances
For mail retrieval by clients, that would be handled by Dovecot. I'm not familiar with it, but it looks like it supports Server Name Indication
I've done this with my domains, they all send and receive mail from the one server name (server.insertyourdomainnamehere.comnetwhatever), but all users log in as virtual users.
Mail for local accounts (for logwatch, etc) are forwarded to a virtual user.
I'm not using certificates (unless postfix / dovecot created one self-signed one when it was installed), or are we talking client certificates to validate mail user login to avoid passwords?
Which probably means this is not relevant.