So, things are getting really confusing around how Multiple domains should be setup with SSL from Let's Encrypt.
Single IP Address: 188.8.131.52 <----not actual
OS: CentOS Linux 7.3.1611
Postfix and Dovecot
For the sake of this post we can assume the following:
System Hostname: server3.mydomain.com
Virtual Servers and Alias:
DNS is provided by datacenter and is setup correctly.
So, what I have been doing is after the virtual server and alias have been created, I select the virtual server from the dropdown in Virtualmin then:
Server Configuration -> Manage SSL Certificate -> Let's Encrypt
Then under "Request certificate for" I select the "Domain names listed here" and fill in the following:
Then I click the "Request Certificate" button. Let's Encrypt gives the certificate and now HTTPS works. So, then I try email and I cannot send messages because of the SSL cert not matching.
So here are my questions:
1.) Can I use the "Manage SSL Certificate" to request each domain's certificates?
2.) Do the mail Aliases all need to be on one Certificate? If yes, which domain should they go under?
3.) At any point should I ever click either the "Copy to Dovecot" or "Copy to Postfix" buttons after getting the Let's Encrypt certificate for a domain?
4.) In the off chance that I click the "Copy to Postfix" or "Copy to Dovecot" button is there a way to undo that?
My goal is to have HTTP traffic all go HTTPS (which is working) and have email both incoming and outgoing over SSL.
Thanks for any help!