LetsEncrypt SSL for webmin server

Webmin run on port 10000 over HTTPS. By default webmin use self signed SSL certificate. To use SSL for webmin, you need to first get SSL cerificate for the domain you need to use. Refer https://www.serverok.in/letsencrypt for getting SSL certificate.

Once you have SSL certficate, do following.

Now restart webmin

Now you will be able to access webmin using this SSL cert at

To auto renew SSL, add following entry to cronjob that renew your LetsEncrypt SSL certificate.