You don't need to extract the server name yourself. IO::Socket::SSL lets you setup SSL_cert* and SSL_key* as hash and thus can choose the appropriate certificates automagically. There is even example code in the documentation of IO::Socket::SSL for it. | [reply] |
Hi, welcome,
Yep, do yourself a favor and start simple. Install a modern Perl web application framework such as Dancer2 , which can have you up and running with a server in one file or a skeleton application structure, in 15 minutes. Then check out the plugins for extras like HTTPS.
Hope this helps!
The way forward always starts with a minimal test.
| [reply] |