[stunnel-users] SNI with wildcard certificates

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


Hi,

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

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

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

[https_a_wc]
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??

Thanks!
Gustavo
-------------- 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