[stunnel-users] SNI with wildcard certificates

Gustavo Machado machadogj at gmail.com
Thu Sep 27 19:51:26 CEST 2012


I would like to use SNI in combination with wildcard certificates. I
currently have the following configuration:

accept  = 443
connect = 80
TIMEOUTclose = 0
cert = C:\default.pem
key = C:\default.key

;SNI Config
sni          = https:one.org
connect      = 80
cert         = C:\a.pem
key          = C:\a.key

sni          = https:*.one.org
connect      = 80
cert         = C:\b.pem
key          = C:\b.key

If I go to https://one.org then I can see a.pem in the browser. If I go to
https://mysubdomain.one.org I see default.pem. What am I missing??

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

More information about the stunnel-users mailing list