So I’m setting up a hosting server for multiple domains with a single IP. Right now I have 2 domains being hosted on the server.
I have successfully installed and configured letsencrypt and created a SAN certificate for the two domains I have (although with a couple of issues).
To make a quick overview, virtualmin is running on a dedicated server, DNS is being handled by the domain host.
right now when I try to access my website through https it gives my a message that looks like this:
“connection is not secure, parts of this website are not secure (like images)”
It`s Translated from my main language so it may differ to how it should be shown in english.
Also when I try to configure mail client (thunderbird) with STARTTLS it always says the connecion is not secure (as if the certificate wasn’t trusted).
Common name on the certificate is www.domain.com and mail server is under mail.domain.com
Also when I try to send an email it gives me an authentication error and won’t allow me to send emails.
I don’t have this error when I use usermin and I can send email correctly signed with TLS.
About the issues I’m having with letsencrypt, so far I created a SAN certificate for 2 domains. Thing is when I try to add a subdomain that is not listed on the apache conf file of the website it gives me a DNS record error (as if the A record wasn’t pointing to the server). These errors are given only with the records that are not set as alias in the apache conf file.
I want to add the mail.DOMAIN.com as a subdomain to the SAN certificate but that domain is not set as an alias in apache (and I don’t want it to be) but I need it to authenticate the mail server.
Thank you for your time and your help