Subject: | Server side SNI support |
Date: | Wed, 16 Jan 2013 19:51:47 +0100 |
To: | bug-IO-Socket-SSL [...] rt.cpan.org |
From: | Karel Miko <karel.miko [...] gmail.com> |
Hi,
Net::SSLeay has server side SNI support since 1.50
http://search.cpan.org/~mikem/Net-SSLeay-1.52/lib/Net/SSLeay.pod#Low_level_API:_Server_side_Server_Name_Indication_%28SNI%29_support
Please find enclosed proposal for adding server side SNI also to
IO::Socket::SSL.
It is implemented via a new option:
SSL_server_SNI => { 'host1.domain.com' => ['h1.crt', 'h1.key'],
'host2.domain.com' => ['h2.crt', 'h2.key'] }
or
SSL_server_SNI => sub { my $host = shift; ...; return ($certfile, $keyfile) },
If you find my proposal handy I can write a piece of documentation for this
new feature.
Regards
--
Karel
Message body is not shown because sender requested not to inline it.