[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
https.

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  ->  127.0.0.1:8080

app2.pcapps.one:450  ->  127.0.0.1:81

app3.pcapps.one:451  ->  127.0.0.1:82

 

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?

 

Thanks,

Paul

-------------- 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