|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: SSL with HTTP::Server::Simple and Net::Serverby shmem (Canon) |
| on Apr 27, 2011 at 13:20 UTC ( #901570=note: print w/ replies, xml ) | Need Help?? |
|
I've run this through the debugger a few times, without quite figuring out how these parameters are supposed to be passed in, nor why they are missing from $s->{server} where Net::Server::Proto::SSLEAY is expecting them. That's because the keys SSL_cert_file SSL_key_file are missing from the default structure in sub options from Net/Server.pm line 1338 (as of version 0.99) - it's a bug:
Add the keys below leave_children_open_on_hup and presto - it works, at least it doesn't die anymore. update: I'm not sure whether it's the right place to add those keys, since the machinery of those modules is hard to grasp with little time at hand. Maybe you should file a bug report.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||