Forum archive
Issue with Lets Encrypt when disable Webmin/Shellinabox?
I was creating a web gateway on AWS using TKL Core v17. I removed webmin and shellinabox as I do not need them. I noticed the stunnel services where still hanging around and I removed them as well. I tried to use the Lets Encrypt script and get an error referencing these services. I assume they are hard coded maybe? I did not have the time to muck around in the source yet.
[2023-02-14 21:42:05] dehydrated-wrapper: FATAL: │ │ dehydrated exited with a non-zero exit code. │ │ Job for stunnel4@webmin.service failed because the │ │ control process exited with error code. │ │ See "systemctl status stunnel4@webmin.service" and │ │ "journalctl -xe" for details. │ │ Job for stunnel4@shellinabox.service failed because the │ │ control process exited with error code. │ │ See "systemctl status stunnel4@shellinabox.service" and │ │ "journalctl -xe" for details.
I don't recall exactly but I suspect that you are correct!
Have a look in the hook script (should be in /etc/dehydrated) or perhaps the wrapper script (in /usr/lib/confconsole/plugins.d/Lets_encrypt or something like that).
And even if they were to remain hardcoded (which I don't think they should), they should still only be warnings, not fatal.