logo       

perl script error using Crypt::SSLeay with perl's LWP: msg#00000

Subject: perl script error using Crypt::SSLeay with perl's LWP
Folks,

 I have a Perl script that uses LWP and connects to a web page via 443
 SSL for availability
 
 All of the sudden the script stopped working and of course I didn't change
 anything.
 The web guys told me they renewed the certificate. Could that be the reason it
 is now failing?
 
 I get a "Dr. Watson" like error now complaining about SSLEAY
 
 Any way for me to make this work with the new cert?

 Do I need to import the new cert and get rid of the old one?  If so how?
 
 Script snippet:
   $ua = LWP::UserAgent->new;
   $ua->agent("" . $ua->agent);
   $ua->cookie_jar(HTTP::Cookies->new(file => "lwpcookies.txt",autosave => 1));
   print "Checking $url/login.jsp......" if $dbug;
   push @TSLOG, "Checking $url/login.jsp......";
   $req = HTTP::Request->new(GET => "$url/login.jsp");
   $req->authorization_basic($pnuname, $pnpass);
   @step1 = $ua->request($req)->as_string;
   print "Step1-->$step1[0]\n\n" if $dbug;
   if ($step1[0] =~ /<form name=\"LoginForm\"/) {
     print "Success\n" if $dbug;
     push @TSLOG, "Success\n";
     $CURRSTAT{$url} = "U";
   } else {
     print "Failed\n" if $dbug;
     push @TSLOG, "Failed\n";
     $CURRSTAT{$url} = "D";
     return;
   }
 
 Ouput now...
 LWP::UserAgent::request: ()
 HTTP::Cookies::add_cookie_header: Checking placenet.xxx.com for cookies
 HTTP::Cookies::add_cookie_header: Checking .xxx.com for cookies
 HTTP::Cookies::add_cookie_header: Checking xxx.com for cookies
 HTTP::Cookies::add_cookie_header: Checking .com for cookies
 LWP::UserAgent::send_request: GET
 https://placenet.xxx.com:443/sjprdcell/steppingstone/login.jsp
 LWP::UserAgent::_need_proxy: Not proxied
 LWP::Protocol::http::request: ()
 
The information contained in this e-mail may be confidential and is intended 
solely for the use of the named addressee.
Access, copying or re-use of the e-mail or any information contained therein by 
any other person is not authorized.
If you are not the intended recipient please notify us immediately by returning 
the e-mail to the originator.(17b)
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe