I am using LWP and Crypt::SSLeay to grab a page with a https:// url , with most sites this works fine however with one partcular site the script times out all the time, if i put the URL into the browser window it takes a few secs, however via LWP the page is never displayed , I was wondering if this was something to do with this particualr sites SSL certificate , beaucse all the none SSL pages on the site are easily grabbed it is just the ones which have SSL security I have read on this list that there my be a problem grabbing SSL pages off NT servers using LWP, also on other sites which also run on NT i only the headers are displayed , with the "peer certifcate not verified" text, can anyone please please help, i am not sure if i am making any sense as i know little about why this could be occuring my code is below for you to have a look at: #!/usr/bin/perl -w print "Content-type: text/html\n\n"; use LWP::Simple; use HTTP::Request::Common qw(POST); use HTTP::Request::Common qw(GET); use LWP::UserAgent; my $URL = "https://www.autodirectinsuranceservices.co.uk/motorquote/ipl/ipl.dll?Run+auto pc:/ipl/pagecontrol"; my $ua = new LWP::UserAgent; $ua->timeout(60); $ua->agent("AgentName/0.1 " . $ua->agent); my $req = new HTTP::Request GET => $URL; my $res = $ua->request($req); $content2 = $ua ->request($req)->as_string; print $content2; ###-------------- end of code ------------------ If anyone can help i would be very grateful as this problem has me stumped Waseem http://www.todayinsoccer.com - the ultimate soccer history site
