debug = 5 foreground = yes output = /tmp/stunnel.log #pid = socket = a:SO_RCVBUF=16777216 socket = a:SO_SNDBUF=16777216 [http-hosta] accept = 127.0.0.1:60401 client = yes connect = hosta.example.net:60443 cert = /etc/stunnel/cert-client.pem CAfile = /etc/stunnel/cert-hosta.pem verify = 3 [http-hostb] accept = 127.0.0.1:60402 client = yes connect = hostb.example.net:60443 cert = /etc/stunnel/cert-client.pem CAfile = /etc/stunnel/cert-hostb.pem verify = 3 [http-hostc] accept = 127.0.0.1:60403 client = yes connect = hostc.example.net:60443 cert = /etc/stunnel/cert-client.pem CAfile = /etc/stunnel/cert-hostc.pem verify = 3 [http-hostd] accept = 127.0.0.1:60404 client = yes connect = hostd.example.net:60443 cert = /etc/stunnel/cert-client.pem CAfile = /etc/stunnel/cert-hostd.pem verify = 3