Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: Soap::lite - https ?

by Anonymous Monk
on Apr 03, 2008 at 11:25 UTC ( [id://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...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-18 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found