I was trying to configure stunnel to work for multiple domains on the same IP address, just wanted to know how to configure stunnel to listen on different ports? has anyone done it yet?

[https-lo]
cert=/etc/stunnel/ssl/group-cert.pem
key = /etc/stunnel/ssl/lo.key
accept=x.x.x.x:443
connect=x.xxx.xx.11:8000
TIMEOUTclose=0
xforwardedfor=yes

[https-lo2]
cert=/etc/stunnel/ssl/group2-cert.pem
key = /etc/stunnel/ssl/lo2.key
accept=xx.xx.xx.xx:444
connect=x.xxx.xx.11:80
TIMEOUTclose=0
xforwardedfor=yes

but i still get this error when i access the second domain (lo2)
(Error code: ssl_error_bad_cert_domain)