Letsencrypt Cert for Webmin/Virtualmin panel itself

2 posts / 0 new
Last post
#1 Thu, 10/18/2018 - 13:16
kosmonaut_75

Letsencrypt Cert for Webmin/Virtualmin panel itself

Hi, quite a newbie here. I have installed successfully Virtualmin on CentOS 7 and am running Nextcloud, Wordpress and Lime Survey with it. Everything is working out great. Webmin/Virtualmin itself has the domain virtualmin.domain.tld, nextcloud cloud.domain.tld. and so on. It was no problem to get the letsencrypt Cert for the applications with the help of the built-in SSL functions of Virtualmin.

My question: How can I get a Letsencrypt certificate for virtualmin.domain.ltd, in other words Webmin/Virtualmin itself? I got stuck at Webmin/Webmin Configuration/SSL/Letsencrypt. The documentation https://doxfer.webmin.com/Webmin/Let%27s_Encrypt does not really help.

Any ideas?

Thu, 10/18/2018 - 16:55
adamjedgar

Hi Kosmonaut, whilst i am no expert at this, your problem is one i too have had.

here is a link that may be of use...https://www.linode.com/community/questions/117/set-up-an-fqdn-for-an-ssl

having said that, i just use the self signed one anyway...because im the only one accessing the virtualmin interface and the self signed ssl is still encrypted. If you have others accessing it for amin puposes, then might i suggest using a tunnel instead.

I am not sure if you could just download and manually swap out the self signed SSL certs that server1.virtualmin.com is using for CA ones?

actually, now that i think of it...isnt there an option in virtualmin to assign certificates to dovecot, postfix, usermin etc? One of the options in this list is webmin if i remember correctly. (maybe that doesnt work for the existing webmin account?)