Lacking SSL in RPC::XML::Server
Here is a patch to add it (patch against Server.pm)
It use HTTP::Daemon::SSL or HTTP::Daemon, according to the parameters
passed in RPC::XML::Server->new.
Parameters passed are the ones of IO::Socket::SSL :
SSL_cert_file, SSL_key_file, SSL_ca_file, SSL_ca_path.
I implemented just these 4 ones, because this is the ones I need :)
Example :
$server = RPC::XML::Server->new(
host => "$host",
port => "$port",
ssl => {
cert_file => '/etc/ssl/certs/jhary.korsani.cashew.crt',
key_file =>
'/etc/ssl/private/jhary.korsani.cashew.key.unprotected',
ca_path => '/etc/ssl/certs/',
},
'queue'=>5);
Hope it helps
Subject: | 01-RPC::XML::Server.pm-ssl.patch.gz |
Message body not shown because it is not plain text.