gr3m1in has asked for the wisdom of the Perl Monks concerning the following question:
good day, monks!
my program at my LAN host listens an IO::Socket:INET as HTTPS at port 443 and upgrades connections to IO::Socket::SSL with specified cert/key pair.
i need to detect the SNI hostname to which a client is connecting and generate a dynamic cert/key pair according to the detected hostname.
as the SNI documentation says, the hostname is reachable before actual handshake, but i can't figure out how to get it during upgrade to IO::Socket::SSL and dynamically supply just generated cert/key pair to upgrading object.
thanks for any help!
regards, gr3m1in
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamic SNI certificates while upgrading to SSL
by noxxi (Pilgrim) on Dec 18, 2014 at 12:24 UTC | |
by gr3m1in (Novice) on Jan 03, 2015 at 17:01 UTC | |
by noxxi (Pilgrim) on Jan 03, 2015 at 19:45 UTC | |
by gr3m1in (Novice) on Jan 03, 2015 at 20:38 UTC | |
by FloydATC (Deacon) on May 12, 2017 at 06:22 UTC | |
by noxxi (Pilgrim) on Jan 04, 2015 at 04:23 UTC |