Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 exploiting the Monastery: (8)
As of 2014-07-29 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls