Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^5: Soap::lite - https ?

by Anonymous Monk
on Apr 03, 2008 at 11:25 UTC ( #678143=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Soap::lite - https ?
in thread Soap::lite - https ?


Yes it is possible when you define server code like this:
my $daemon = SOAP::Transport::HTTP::Daemon
->new( LocalPort => DAEMON_PORT,
Listen => 1,
SSL_use_cert => 1,
SSL_key_file => PRIVATE_KEY_PATH,
SSL_cert_file => CERTIFICATE_PATH,
Reuse => 1)
-> dispatch_to('Handler');

Off course, you have to install HTTP::Daemon::SSL, generate a certificate and a private key before using this code...

It's a few late but it should be usefull for other poeples like me, a week ago...


Comment on Re^5: Soap::lite - https ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://678143]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (17)
As of 2014-07-10 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (209 votes), past polls