RE: How to make LWP ignore ssl warnings

"Jan Dubois" <[email protected]> Fri, 20 May 2011 16:25:08 -0700
Newsgroups gmane.comp.lang.perl.active-perl
Organization ActiveState Software Inc
Message-ID <[email protected]>
On Fri, 20 May 2011, Richard Verdugo wrote:
> Hello, How can I get LWP to ignore a response such as, "There is a
> problem with this website's security certificate", and go ahead to
> browse the page?

Try adding this to your script to disable SSL certificate checking:

    BEGIN { $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0 }

[Untested, just going by the docs for libwww-perl]

Cheers,
-Jan

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs