Submitted by xorax on Wed, 10/18/2017 - 23:43
If you try to move a virtualserver with SSL feature to an other directory by going to Server Configuration > Change Domain Name, and change home directory, the webmin miniserv won't restart.
This is because the path to the ssl keys (ipcert_* and ipkey_*) of this virtualserver server are wrong in /etc/webmin/miniserv.conf
Example: I have a disk mounted on /mnt/f, and I changed the path of the virtualserver domain.com to /mnt/f/home/domain.com The ipcert and ipkey conf keys became :
ipcert_domain.com,*.domain.com=/mnt/f/mnt/f/home/domain.com/ssl.cert
ipkey_domain.com,*.domain.com=/mnt/f/mnt/f/home/domain.com/ssl.key
Instead of:
ipcert_domain.com,*.domain.com=/mnt/f/home/domain.com/ssl.cert
ipkey_domain.com,*.domain.com=/mnt/f/home/domain.com/ssl.key
Thanks
Status:
Active
Comments
Submitted by JamieCameron on Fri, 10/20/2017 - 00:54 Comment #1
Thanks for reporting this - that's clearly a bug which we need to fix.
Submitted by JamieCameron on Tue, 10/24/2017 - 19:14 Comment #2
I did some testing with latest Virtualmin, but wasn't able to re-produce this.
Do you have Apache or Nginx enabled as the webserver for this problem domain?