"SSL connect accept failed because of handshake problemserror:00000000:lib(0):func(0):reason(0) ..."
####
if ($ssl)
{
$daemon = SOAP::Transport::HTTP::Daemon
-> new (LocalPort => $port, Reuse => 1,
SSL_use_cert => 1,
SSL_key_file => 'path/to/server.key',
SSL_cert_file => 'path/to/server.crt')
-> on_action(sub {})
-> dispatch_to('allmy','methodes')
;
}
$daemon->handle;
####
eval{
$daemon->handle or warn($!);
};
####
HTTP/1.1 400 Bad Request
Date: Wed, 03 Nov 2010 10:59:54 GMT
Server: libwww-perl-daemon/5.818
Content-Type: text/html
Content-Length: 57
400 Bad Request
400 Bad Request