Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by Loops (Curate)
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 scrutinizing the Monastery: (5)
As of 2015-07-28 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls