It happened when I was going to enable SSL for a domain.
Normally you should activate SSL first under “Enabled features”
This time I forgot.
The consequence was that the control panel hung.
Now only “Proxy Error” is displayed
“The proxy server could not handle the request”
“Reason: Error during SSL Handshake with remote server”
Have tried with and without :10000
Restarted the entire server.
How can I restore contact with the control panel?
“The website cannot be reached
xxx.xxx.xxx.xxx took too long to respond.”
I can see all websites on this server except the control panel,
and I can reach CLI, but I don’t know what to do there.
When I restart webmin there is this message:
“miniserv.pl[32320]: SSL cert file /etc/webmin/domainXX.com.cert does not exist”
The domain name is the one that should have SSL.
I managed to solve the problem.
Checked /etc/webmin/miniserv.conf
There were some lines at the end that I suspected wouldn’t be there.
First I took a backup of the file and then removed these lines and restarted Webmin.
Problem solved.
At first there was 58 lines compared with 54 in another server.
The end of the normal was like this:
error_handler_401=401.cgi
error_handler_403=403.cgi
error_handler_404=404.cgi
nolog=/stats.cgi?xhr-stats=general
premodules=WebminCore
twofactor_provider=totp
logouttimes=
root=/usr/share/webmin
mimetypes=/usr/share/webmin/mime.types
server=MiniServ/2.105
The end of the one with problem was:
error_handler_401=401.cgi
error_handler_403=403.cgi
error_handler_404=404.cgi
nolog=/stats.cgi?xhr-stats=general
premodules=WebminCore
twofactor_provider=totp
logouttimes=
ipcert_zzzzzzz.yyy,.zzzzzzz.yyy=/etc/ssl/virtualmin/16999647052992357/ssl.cert
ipkey_zzzzzzz.yyy,.zzzzzzz.yyy=/etc/ssl/virtualmin/16999647052992357/ssl.key
root=/usr/share/webmin
mimetypes=/usr/share/webmin/mime.types
server=MiniServ/2.105
extracas=/etc/webmin/xxxxxxxxxxx.yyy.ca
certfile=/etc/webmin/xxxxxxxxxxx.yyy.cert
But strange, when I now look at the one that had problem there are still something:
error_handler_401=401.cgi
error_handler_403=403.cgi
error_handler_404=404.cgi
nolog=/stats.cgi?xhr-stats=general
premodules=WebminCore
twofactor_provider=totp
logouttimes=
root=/usr/share/webmin
mimetypes=/usr/share/webmin/mime.types
server=MiniServ/2.105
ipkey_xxxxxxxxxxx.yyy,.xxxxxxxxxxx.yyy=/etc/ssl/virtualmin/170081249525235/ssl.key
ipcert_xxxxxxxxxxx.yyy,.xxxxxxxxxxx.yyy=/etc/ssl/virtualmin/170081249525235/ssl.cert
ipextracas_uxxxxxxxxxxx.yyy,*.xxxxxxxxxxx.yyy=/etc/ssl/virtualmin/170081249525235/ssl.ca
Although it works now. Should I remove those 3 lines at the end?
Or else the problem is there again?
Those were the extra lines:
ipcert_zzzzzzz.yyy,.zzzzzzz.yyy=/etc/ssl/virtualmin/16999647052992357/ssl.cert
ipkey_zzzzzzz.yyy,.zzzzzzz.yyy=/etc/ssl/virtualmin/16999647052992357/ssl.key
extracas=/etc/webmin/xxxxxxxxxxx.yyy.ca
certfile=/etc/webmin/xxxxxxxxxxx.yyy.cert
Theme Configuration was set to Dashboard on both Virtualmin and Webmin.
I had to change to another and save. Then I chose Dashbord. It’s ok now.