Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 having an uproarious good time at the Monastery: (6)
As of 2014-09-17 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (56 votes), past polls