DaisyLou has asked for the wisdom of the Perl Monks concerning the following question:
$ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 0 });
... and ...
my $ua = LWP::UserAgent->new(); $ua->ssl_opts( SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE, SSL_hostname => '', verify_hostname => 0 );... No luck. Any suggestions? Here's what I'm getting back:
WNS Error: HTTP::Response=HASH(0x30e7a30)->content.
$VAR1 = bless( {
'_content' => 'Can\'t connect to ___censored____.com:443
',
'_rc' => 500,
'_headers' => bless( {
'client-warning' => 'Internal response',
'client-date' => 'Tue, 10 Jun 2014 00:47:12 GMT',
'content-type' => 'text/plain',
'::std_case' => {
'client-warning' => 'Client-Warning',
'client-date' => 'Client-Date'
}
}, 'HTTP::Headers' ),
'_msg' => 'Can\'t connect to ___censored__:443',
'_request' => bless( {
'_content' => 'Test Machine - Test Company"Toast Test - Disregard this message"',
'_uri' => bless( do{\(my $o = '__censored :)__')}, 'URI::https' ),
'_headers' => bless( {
'user-agent' => 'libwww-perl/6.06',
'x-wns-cache-policy' => 'no-cache',
'x-wns-type' => 'wns/toast',
'x-wns-ttl' => 600,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP::Simple: Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated!
by perlfan (Parson) on Jun 10, 2014 at 03:10 UTC | |
|
Re: LWP::Simple: Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated!
by boftx (Deacon) on Jun 09, 2014 at 23:12 UTC | |
by Anonymous Monk on Jun 10, 2014 at 00:58 UTC |