Hi guys,
I have configured my mail server (subd.main.tld) with Let’s encrypt and it’s working great.
Also configure subd.secondary.tld, when I try to access additional domain (subd.secondary.tld) it gives me SSL error stating it belongs to mail.main.tld
I have made a (subd=subdomain) A name record for both mail.main.tld and mail.secondary.tld to same IP address.
Also I added:
ADDITIONAL_SAN=subd.main.tld, subd.secondary.tld
My DNS is Cloudflare.
How can I access mail.secondary.tld with SSL? Because when i access my “subd.secondary.tld” the error message is:
“This server could not prove that it is „subd.secondary.tld”; its security certificate is from „sub.primary.tld”. This may be caused by a misconfiguration or an attacker intercepting your connection.”
In the mailcow.conf the ADDITIONAL_SERVER_NAMES =subd.main.tld, subd.secondary.tld without whitespaces.
Some ideas, because I’m stuck.
Thank you in advance,
p