Submitted by Murz on Thu, 05/28/2020 - 07:26
When user rename virtualhost with already created SSL certificates to other name, and then - delete it, webmin fails to starts with error:
/etc/webmin/start
Starting Webmin server in /usr/share/webmin
Failed to open SSL key /home/old-virtual-host-name.org/ssl.key at /usr/share/webmin/miniserv.pl line 4420.
This happens, because Virtualmin don't delete old path of ssl key from file /etc/webmin/miniserv.conf
.
ipkey_old-virtual-host-name.org,*.old-virtual-host-name.org=/home/old-virtual-host-name.org/ssl.key
ipcert_old-virtual-host-name.org,*.old-virtual-host-name.org=/home/old-virtual-host-name.org/ssl.cert
Manually deleting lines from this file help solve this problem.
Status:
Active
Comments
Submitted by Murz on Thu, 05/28/2020 - 07:29 Comment #1
Hi,
Thank you for the heads up. However, I have really tired and couldn't reproduce this bug on latest Webmin 1.942 and Virtualmin 6.09-3.