Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 85347
Status: resolved
Priority: 0/
Queue: libwww-perl

Owner: Nobody in particular
Requestors: vgavara [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: LWP::UserAgent: SSL_verify_mode argument not property managed
Date: Thu, 16 May 2013 11:39:54 +0200
To: bug-libwww-perl [...]
From: Vicente Gavara <vgavara [...]>
Download (untitled) / with headers
text/plain 745b
Even setting SSL_verify_mode argument value to SSL_VERIFY_NONE via constructor or calling ssl_opts function the option doesn't seem to reach IO::SOCKET::SSL that carps the message "Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated!..." The only way I've found of avoiding the message, ie, of setting IO::SOCKET::SSL SSL_verify_mode argument to SSL_VERIFY_NONE is running IO::Socket::SSL::set_ctx_defaults(SSL_verify_mode => SSL_VERIFY_NONE) in the BEGIN block. This bug might be considiered bound of the bug 83254 (IO::Socket::SSL now issues warning when used with LWP's verify_hostname=>0) since the solution given there was setting SSL_verify_mode to SSL_VERIFY_NONE using the ssl_opts constructor argument.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to