Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
There's more than one way to do things
 
PerlMonks  

Re: rpc::xml::Client specify ssl_opts for requests

by Loops (Hermit)
on Apr 09, 2013 at 16:08 UTC ( #1027775=note: print w/ replies, xml ) Need Help??


in reply to rpc::xml::Client specify ssl_opts for requests

Howdy, your code isn't actually passing the ssl_opts parameter to the LWP::UserAgent. This will work though:

my $client = RPC::XML::Client->new("https://10.40.1.114/api/index.ice" +, useragent => [ ssl_opts => { verify_hostname => 0, SSL_verify_mode => SSL_VERIFY_NONE, }, ], );


Comment on Re: rpc::xml::Client specify ssl_opts for requests
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-04-20 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls