Hi I have a strange issue.
I have several Virtual Servers all using different domains with some having purchased/verified SSL certs and some using self-signed.
The problem is when I want to add or renew a new purchased SSL for a Virtual Server and I click configuration options and enable SSL (if it’s not already enabled), and save it then Virtualmin says “Updating IP… Enabling SSL” etc. Ok so then I install the SSL and everything looks good.
Until I then visit any of my Virtual Servers and discover they’re all trying to use the new SSL cert, not just the domain that I installed it on.
I found how to rectify this by then manually editing the vhost file. In the vhost the domain is putting the local IP address in the 443 section rather than the asterisk * that it should have there. Once I put the * back everything works again as it should.
E.g. the /etc/apache2/sites-available/domain.conf file wrongly has:
ServerName domainnamehere.com
RewriteEngine On
Instead of:
ServerName domainnamehere.com
RewriteEngine On
So then once the asterisk is back all is good, until I then modify some SSL cert again in Virtualmin and click save and then it mashes it up again.
I hope someone can help as I’m told it is just a configuration issue.
Much appreciated!