if this is a webmin only system user certbot from the command line if you don’t have a web server installed and then add the cert entry into miniserv.conf, this will give you a https connection without a web server present
I’m trying this directly from the Virtualmin interface and have selected /var/www/html/ as directory but Virtualmin is redirecting port 80 to 10000 for the hostname (which I believe I read in the past might be an issue in terms of implementation).
Perhaps we’re not meant to do it like this, but it’s not quite clear how to do it then.
Edit: worked around this by temporarily moving the .htaccess file in that directory which of course prevent ed the redirect. But in terms of auto renewal this is clearly not workable, so I suppose this is not the way it was meant to happen.
The way i have done it which was prior to the webmin implementation was to use certbot in stand alone mode request the cert and add the live symlink to the webmin config. Certbot then handles updates itself
Don’t hijack the topic with unrelated issues. OP is using Webmin only (I assume), which has a quite different Let’s Encrypt workflow (because Virtualmin systems always have a web server setup in a well-defined/known way).
You should never do anything in /var/www/html in a Virtualmin system. Virtual hosts live in /home. And, you never need to get a certificate for Webmin if you have Virtualmin. You can get a cert for any/all of your Virtualmin domains, and use any of those to connect to Webmin.
If you still have a problem related to Virtualmin and Let’s Encrypt, make a new topic.
That is in Webmin im showing. To get a cert its either via virtual server in apache config or dns, you have to use DNS if you don’t wont to create a website. Or are they doing it via Webmin server, but that’s on port 10000.
I mistakenly wrote “Virtualmin” because I manage many servers, but for this server it is actually a Webmin instance which only serves DNS. So: no virtual hosts, actually the same situation as Randomz, and no hijacking going on.
How exactly is the “option to request Let’s Encrypt certificates using certbot in standalone mode” supposed to work?