Webmin doesn't start after a SSL certificate install

Hi,

we have the following issue. We installed a certificate in our main domain and then we tried to copy it webmin using one of the bottoms in the Certificate administration form.

After doing this we are not able to access to virtualmin although we can see all our sites properly. We have changed the miniserv.conf file to use the default certificate but this is still not not working.

Please see what we have in the miniserv.conf file:

port=10000 addtype_cgi=internal/cgi realm=Webmin Server logfile=/var/webmin/miniserv.log errorlog=/var/webmin/miniserv.error pidfile=/var/webmin/miniserv.pid logtime=168 ppath=

ssl=1

env_WEBMIN_CONFIG=/etc/webmin env_WEBMIN_VAR=/var/webmin atboot=1 logout=/etc/webmin/logout-flag listen=10000 denyfile=.pl$ log=1 blockhost_failures=5 blockhost_time=60 syslog=1 session=1

premodules=WebminCore

userfile=/etc/webmin/miniserv.users keyfile=/etc/webmin/miniserv.pem passwd_file=/etc/shadow passwd_uindex=0 passwd_pindex=1 passwd_cindex=2 passwd_mindex=4 passwd_mode=0 preroot=virtual-server-theme passdelay=1 sudo=1 sessiononly=/virtual-server/remote.cgi

preload=virtual-server=virtual-server/virtual-server-lib-funcs.pl virtual-server=virtual-server/fea$

eval_package=1 anonymous=/virtualmin-mailman/unauthenticated=anonymous logouttimes= root=/usr/share/webmin mimetypes=/usr/share/webmin/mime.types extracas=

We would apreciate any help as this is happening in a production server with many sites.

Many thanks

Status: 
Active

Comments

Sounds like the cert may not have been valid in some way. Was it from a CA that requires a chaining cert?

The work-around in the short-term is to do the following :

  1. Edit /etc/webmin/miniserv.conf and remove the ssl=1 line, then run /etc/webmin/restart . You can now login to Virtualmin with a URL like http://yourserver:10000/

  2. Go to Webmin -> Webmin Configuration -> SSL Encryption, and generate a new cert.

  3. Also on the SSL Encryption page, turn SSL back on.