Submitted by dinis on Sun, 04/01/2018 - 21:40
OS: Debian 9
Deleted one subserver, I did not pay too much care that itsaid that subserver was sharing a ssl key with another subdomain. Looks like the subserver wa deleted - cannot see it anywhere. But the error message, when I restart webmin (/etc/init.d/webmin restart) states that "Failed to open SSL key /home/DOMAIN/domains/subserver.domain.com/ssl.key at /usr/share/webmin/miniserv.pl line 4410"
I am able to restart webmin only if SSL disabled.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sun, 04/01/2018 - 21:59 Comment #1
As a quick work-around, you can edit
/etc/webmin/miniserv.conf
and remove theipkey_
line that refers to the problem cert.However, it's clearly a bug if this can happen in the first place. Did this sub-server use an SSL certificate that was also valid for it's parent domain?
Submitted by dinis on Mon, 04/02/2018 - 07:35 Comment #2
Hi. Thanks for your fast reply. Solved and now wrks properly. But had to do a few other changes (more below):
The ssl was just for the sub-server but in a certain moment the certificate became shared... To try to replicate: Have a sub-server with name eg. Mysubserver, Rename it to ppMysubserver Create a subdomain named Mysubserver Delete ppMysubserver (I did this for couple of subservers and it hang up in one)
More info on solving it (for you to have a better idea of the bug....) As per your suggestion, I deleted this line, ipkey_ppDELETEDSUBSERVER.site.com,*.ppDELETEDSUBSERVER..site.com=/.../ssl.key I noticed that there were also another couple of subdomains ip_keys, ipcrt and ipextracas that remained with "deleted subserver folder links" - so, I corrected them. There were also a couple of new subdomains lacking the ipextracas link. also corrected it.
Thanks
Submitted by JamieCameron on Mon, 04/02/2018 - 21:20 Comment #3
Ok, this bug will be fixed in the next Virtualmin release.
Submitted by IssueBot on Thu, 10/11/2018 - 20:07 Comment #4
Automatically closed - issue fixed for 2 weeks with no activity.