[stunnel-users] How to use SNI

Paul Coshott paul at coshott.com
Fri Feb 14 10:32:44 CET 2020

Hi Everyone,


I have a single domain on my internet server, but it has 3 sub-domains. A
separate web app runs off each one, but I need all 3 to be secured with

I have the ssl certificates I need, but I don't know how to format the SNI
section for all 3 sub-domains.


The 3 domains and ports I need are :


app1.pcapps.one:449  ->

app2.pcapps.one:450  ->

app3.pcapps.one:451  ->


each domain has a certificate such as :


cert = C:\httpscert\app1.pcapps.one.pfx



Can anyone tell me how to write out the SNI section to get this working?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20200214/39b29116/attachment.htm>

More information about the stunnel-users mailing list