How to make LWP ignore ssl warnings

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?

thanks,
Rich.
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Richard Verdugo [ Sa, 21 Mai 2011 01:06 ] [ ID #2059873 ]

RE: How to make LWP ignore ssl warnings

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
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Jan Dubois [ Sa, 21 Mai 2011 01:25 ] [ ID #2059874 ]
Perl » gmane.comp.lang.perl.active-perl » How to make LWP ignore ssl warnings

Vorheriges Thema: Array as function parameter
Nächstes Thema: ActiveState announces ActivePerl 5.14.0