Greetings!

I have the ssl files from ZeroSSL, and I am trying to set up https using stunnel4 on an ubuntu server. I am new to https, I would love some of your help setting this up.  Here is what I have done so far:
1. Installed Althttpd and http is working fine on the home network and from the external network.

2. I have installed stunnel4 on the ubuntu server
jcabrera@selva:~$ stunnel -v
[ ] Clients allowed=500
[.] stunnel 5.56 on x86_64-pc-linux-gnu platform
[.] Compiled with OpenSSL 1.1.1c  28 May 2019
[.] Running  with OpenSSL 1.1.1f  31 Mar 2020
[.] Threading:PTHREAD Sockets:POLL,IPv6,SYSTEMD TLS:ENGINE,FIPS,OCSP,PSK,SNI Auth:LIBWRAP
[ ] errno: (*__errno_location ())
[!] Invalid configuration file name "-v"
[!] realpath: No such file or directory (2)
[ ] Deallocating section defaults

3. I have placed the ZeroSSl ssl files on the ssl directory as per ZeroSSL instructions
jcabrera@selva:~$ ls -l /etc/ssl/*.crt
-rw-r--r-- 1 root root 2431 Oct 20 16:27 /etc/ssl/ca_bundle.crt
-rw-r--r-- 1 root root 2354 Oct 20 16:31 /etc/ssl/certificate.crt
root@selva:/home/jcabrera# ls -l /etc/ssl/private/*.key
-rw-r--r-- 1 root root     1702 Oct 20 16:33 /etc/ssl/private/private.key

4. Created the the /etc/stunnel/stunnel.conf file with these entries:
root@selva:/home/jcabrera# cat /etc/stunnel/stunnel.conf
cert = /etc/ssl/certificate.crt
key = /etc/ssl/private/private.key
\[https\]
accept       = :::443
TIMEOUTclose = 0
exec         = /usr/bin/althttpd
execargs     = /usr/bin/althttpd -logfile ~/www/http.log -root ~/www -user www-data -https 1

And, I don't know what else to do. Any help would be greatly appreciated. Thanks.

josé

--

What if eternity is real?  Where will you spend it?  Hmmmm...