r1n0ck has asked for the
wisdom of the Perl Monks concerning the following question:
I am pretty new to perl. Coming from the python world but want to learn this language. I am trying to get info on setting up a simple HTTPS server. All I want to do is setup a simple HTTPS server that will allow a client to connect and using the Net::SSLeay module, I would like to pull out the SNI host value in order to assign the proper certs to the connection. Ideally I am setting up a multi-host SSL server. Single IP address but with the ability to connect to multiple hostnames (on the same server, and will assign certs as needed).
I have been reading a bit and someone told me to utilize Net::SSLeay but I am getting lost using IO::Socket::SSL and Net::SSLeay and how to connect things to pull the get_servername call from Net::SSLeay.
Any and all help is greatly appreciated. I think I should have started in perl with easier test projects.