<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">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?<br><br>[https-lo]<br>cert=/etc/stunnel/ssl/group-cert.pem<br>key = /etc/stunnel/ssl/lo.key<br>accept=x.x.x.x:443<br>connect=x.xxx.xx.11:8000<br>TIMEOUTclose=0<br>xforwardedfor=yes<br><br>[https-lo2]<br>cert=/etc/stunnel/ssl/group2-cert.pem<br>key = /etc/stunnel/ssl/lo2.key<br>accept=xx.xx.xx.xx:444<br>connect=x.xxx.xx.11:80<br>TIMEOUTclose=0<br>xforwardedfor=yes<br><br>but i still get this error when i access the second domain (lo2)<br>(Error code: ssl_error_bad_cert_domain)<br><br><br></td></tr></table><br>