Hi,
[!] /etc/stunnel/stunnel.conf:24: "output = /tmp/stunnel.log": Specified option name is not valid here
The error says that you tried to put a global configuration file option ("output") in a service section.
See https://www.stunnel.org/static/stunnel.html for details.
Best regards, Mike