Closed markwellis closed 10 years ago
This is caused by the fix for issue 4, see my last comment there. Crypt::SSLeay doesn't support hostname verification, and that what you get if you use Net::SSL as the socket class.
You can also work around this by passing the correct arg to new()
LWPx::ParanoidAgent->new(
ssl_opts => {
verify_hostname => 0,
},
)
cool, that's a better plan. cheers
if someone can pass a pull-req, it helps expedite this sorta thing ;)
test case
with LWPx-ParanoidAgent-1.09 i get
and with LWPx-ParanoidAgent-1.10 i get
this can be worked around with a 'local $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0' as the error suggests, but it feels a little hacky