I’m trying to add an alias domain .de to my current main domain .com. But it is not possible to request Let’s Encrypt for that new alias domain.
It says hostname doesnt match. I checked DNS, they all use the same NS addresses, they all have same A record. When open in browser, they all resolve correctly to the common public_html folder (main website). What else I should check, any idea please?
File “/usr/lib/python2.7/ssl.py”, line 269, in match_hostname
% (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname ‘www.only-approved.de’ doesn’t match either of ‘only-approved.com’, ‘only-approved.dk’, ‘www.only-approved.com’, ‘www.only-approved.dk’
all domains point to the same address already but Virtualmin failed to match hostname. I Suspect this has something to do with the fact that I add 2 domains from beginning and the last domain is added after I upgraded Virtualmin several times?
Default the webmin virtualmin ui interface adres itself ( as this is what you mean?) is on a kind of subdomain
Here thes are aded to the encrypt domain
autoconfig.puthereyourdomain.tld
autodiscover.uyourdomain.tld
Redirection is then somehow also in a config file from admin. and so on
For others having this issue. i hope this helps. under server configuration > manage ssl certificate. under the tab “Create signing Request”. Check the input “Other domain names” does not include a different domain. then press “generate CSR Now”. After this is finished try generating a ssl using lets encrypt tab
I experienced this issue. I registered an alias domain (Lets Encrypt run OK), and after 3 months I added another one (and Lets Encrypt failed).
My solution was to create a self signed certificate for all the (3) domains, and then request a new Lets Encrypt for them all. Then it worked.