Webmin can be forced to SSL Mode, but tipically it have a private generated SSL Certificate and every time you try to navigate to https://yousite.com:10000 you’ve a SSL warning.
If you have a SSL cert for your site, you can use it for Webmin too!
These are steps for enable it:
- go to
/etc/webmin
- rename miniserv.pem with miniserv.pem_OLD
- create new file miniserv.pem and write in as follow:
-----BEGIN RSA PRIVATE KEY----- (Contents of private key) -----END RSA PRIVATE KEY----- -----BEGIN CERTIFICATE----- (Contents of SSL certificate: your_domain_name.crt) -----END CERTIFICATE-----
Where private key is tipically www.yoursite.com.key and SSL certificate is www_yoursite_com.crt.
- Open miniserv.conf and add at the end of the file:
ssl_redirect=1 extracas=/etc/ssl/www.yoursite.com/PositiveSSLCA2.crt
where extracas is the path of PositiveSSLCA2.crt file.
- now in command line type:
service webmin restart
and it should works!