i had some issues initially using lets-encrypt with virtualmin when i was first converting sites over to https. so what i did was just manually run certbot on the command line, then go into httpd.conf and edit-change:
This approach has worked fine for some time now, but today i received this error:
Apr 22 18:31:11 mydomain.info systemd: Starting Webmin...
Apr 22 18:31:11 mydomain.info start: Starting Webmin server in /usr/libexec/webmin
Apr 22 18:31:11 mydomain.info start: Failed to open SSL cert /home/ilovevirtualmin.com/ssl.cert at /usr/libexec/webmin/miniserv.pl line 4436.
Apr 22 18:31:11 mydomain.info systemd: webmin.service: control process exited, code=exited status=2
Apr 22 18:31:11 mydomain.info systemd: Failed to start Webmin.
Apr 22 18:31:11 mydomain.info systemd: Unit webmin.service entered failed state.
i did finally find the original "ssl.cert" file and restored it to its original position, so that appears to have fixed the startup issue.
is there any way i can tell virtualmin where the cert files are, if they are someplace different then where virtualmin specified?
i was playing around with:
but was hoping maybe there is some way to override where virtualmin usually expects to find these files.
thank you very much.