[stunnel-users] Stunnel configuration for multiple domains on single IP

Amol mandm_zoom at yahoo.com
Fri Mar 4 22:42:44 CET 2011


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)





      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20110304/3ac9975b/attachment.html>


More information about the stunnel-users mailing list