instagram arrow-down
Kalle Lilja


Failed to open SSL key at service webmin start

Failed to open SSL key /home/disabledsite/ssl.key at /user/libexec/webmin/

I played around with certificates for separate subsites to servers on a Virtualmin box *cough*not production of course*cough* and got faced with :10000 no longer being accessible post removing a disabled site.
Failed to open SSL key /home/disabledsite/ssl.key at /user/libexec/webmin/ line 4405.
failed to open SSL key


I had a top level site set up,, with a Let’s Encrypt up and running.
This top level site was disabled for one reason or another.
A new site, got set up and developed, once ready to apply the Let’s Encrypt the wizard prompted me to manage the certificate over at the settings, however, with that site disabled, the configuration did not take.
Solution? Remove the site, yes?, well turns out, no, that caused the error.


Access the host via SSH,
Comment out the lines related to the borked server in /etc/webmin/miniserv.conf.
Start the service again.

sudo nano /etc/webmin/miniserv.conf,*,*
sudo service webmin start