Stunnel SSL routines::wrong version number

Hello all
my stunnel server conf is :

pid = /var/run/stunnel.pid
cert = /etc/stunnel/stunnel.pem
client = no
socket = a:SO_REUSEADDR=1
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
sslVersion = SSLv3
[ssh]
accept = A.B.C.D:443
connect = 127.0.0.1:22

and the openwrt stunnel client conf is : cert = /etc/stunnel/stunnel.pem
setuid = nobody
setgid = nogroup
pid = /var/run/stunnel/stunnel.pid
socket = a:SO_REUSEADDR=1
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
sslVersion = SSLv3
[ssh]
CAfile = /etc/stunnel/stunnel.pem
accept = 2200
connect = A.B.C.D:443

i have this error in my logread :

daemon.err stunnel: LOG3[8]: SSL_accept: ssl/record/ssl3_record.c:354: error:0A00010B:SSL routines::wrong version number

can anybody help ?

tried something lower ?

SSL v3 is insecure. It might not be available in the code anymore?
Have you tried sslVersion = TLSv1.2 or

sslVersionMin = TLSv1.2
sslVersionMax = TLSv1.3
1 Like