if SSL certificate is own built and verify fails PERL_LWP_SSL_VERIFY_HOSTNAME=0 is not working alone.
I had to change the line with new LWP::UserAgent(...
to
my $ua = new LWP::UserAgent(cookie_jar => $cookies, timeout => 300, max_redirect => 1, ssl_opts => { verify_hostname => 0, SSL_verify_mode => 0x00 });
Hi,
if SSL certificate is own built and verify fails PERL_LWP_SSL_VERIFY_HOSTNAME=0 is not working alone. I had to change the line with new LWP::UserAgent(... to
my $ua = new LWP::UserAgent(cookie_jar => $cookies, timeout => 300, max_redirect => 1, ssl_opts => { verify_hostname => 0, SSL_verify_mode => 0x00 });