I want people to refer to my server as only the domain name, not host name + domain name, ie. as "mydomain.dk", not "myserver.mydomain.dk". But the template files for the web server and the mail server seem to always assume that the ssl-certificates will be for host + domain, not domain only.
I have now created the following custom template files:
/etc/e-smith/templates-custom/home/e-smith/ssl.pem/20key
/etc/e-smith/templates-custom/home/e-smith/ssl.pem/40crt
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/35SSL10SSLCertificateFile
and in these files deleted the references to host name.
This works OK, but isn't there a more elegant way to do this?
Best,
Jesper