How to make LWP ignore ssl warnings

How to make LWP ignore ssl warnings

am 21.05.2011 01:06:05 von Richard Verdugo

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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: How to make LWP ignore ssl warnings

am 21.05.2011 01:25:08 von Jan Dubois

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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs