Hello,
I have latest DirectAdmin panel with LetsEncrypt installed. SSL for all users is working great but not after go to user domain :2222. In that case the browser return certificate bad common name error - certifacate gives <server name> common name instead of user domain name. How can I fix that without redirection user to <server name> or maybe turn on redirection to <server name> but without SSL common name user warning ?
Already done:
https://help.directadmin.com/item.php?id=629 (<server name>)
Self signed certificate also dont work.
When I go to <server name>:2222 SSL is working fine.
directadmin.conf
I have latest DirectAdmin panel with LetsEncrypt installed. SSL for all users is working great but not after go to user domain :2222. In that case the browser return certificate bad common name error - certifacate gives <server name> common name instead of user domain name. How can I fix that without redirection user to <server name> or maybe turn on redirection to <server name> but without SSL common name user warning ?
Already done:
https://help.directadmin.com/item.php?id=629 (<server name>)
Self signed certificate also dont work.
When I go to <server name>:2222 SSL is working fine.
directadmin.conf
Code:
enable_ssl_sni=1
force_hostname=
letsencrypt=1
mail_sni=1
servername=<server name>
ssl=1
ssl_redirect_host=<server name>