You are here
BJWTech - Mon, 2023/02/06 - 06:24
I was trying to install an internal cert signed by our internal CA. Afterwards I could not get into the webmin page.
How can I reset the webmin install?
Thanks!
Forum:
Tags:
I was trying to install an internal cert signed by our internal CA. Afterwards I could not get into the webmin page.
How can I reset the webmin install?
Thanks!
I was able to set it back....
In /etc/webmin/miniserv.conf file;
...
ssl=0
...
That turns it off. So where is the dc1 cert being set and served from?
Hi there, not sure what the issue might be?
Webmin and Webshell (aka Shellinabox) are both behind stunnel. That provides the SSL termination and both Webmin and Webshell use only vanilla HTTP (but should only be available locally).
The "master" SSL/TLS cert (that is used for all SSL/TLS connections) can be found at /etc/ssl/private/cert.pem (& /etc/ssl/private/cert.key). Although please note that the cert.pem file includes the key (and the dhparams.pem) as well. I.e.:
IIRC Stunnel needs the key in the same file - but the webserver shouldn't. I do recall someone mentioning that stunnel can be configured to use a separate keyfile, but I haven't investigated that yet (was planning to look at that for the next major release).
Also, please note that the permissions for SSL/TLS certs need to be locked down. I.e.:
It should be owned by root already, but if not:
Then you can set those permissions like this:
Hopefully that's enough to get you over the line. If you need more info or I haven't adequately answered your question, please feel free to try again.
BJWTech's reply
BJWTech replied by email but it wasn't auto-posted to the forums, so I'm manually posting:
Add new comment