|
| <prev next> |
FW: Problem using HTML::Form with LWP & SSL: msg#00050lang.perl.modules.lwp
Found my problem .... the actual page being returned after logging in, that used to have the form that I parsed, is a new page that has a JavaScript function that fires when loaded, that reloads the browser to the actual page I want. I guess I'll catch that page that has the JavaScript function, parse out the url being reloaded to "by hand", reinvoke LWP using that url to give me the page I really want and continue on. That would be the theory anyway ;-) -----Original Message----- From: sborruso@xxxxxxxxxxxxx [mailto:sborruso@xxxxxxxxxxxxx] Sent: Wednesday, September 29, 2004 2:48 PM To: libwww@xxxxxxxx Subject: Problem using HTML::Form with LWP & SSL Greetings, Having a problem parsing a returned form now that SSL has been enabled at the target. My application would connect to eBay specifying the page to "change an auction item description". I would then catch the returned login page, fill in the userid/password and would then be directed to the page to start change item description process (Enter Item Number page form). Since eBay has enabled SSL for signing in (couple days ago) my app breaks when trying to parse for the input area on the Add Description form using HTML::Form. I changed the first form parse to specify an https url base and do receive the login page fine and am able to parse/update/submit the userid/password using HTML::Form. The Add Description page comes back ok but the last HTML::Form parse below fails when I issue that against the returned html. I dumped some headers on this received page that indicate SSL is in effect but if I save the page and bring it up in a browser the properties of the page indicate it's straight http. Not sure how to further debug the HTML::Form that's failing below. Here's the SSL header info - head1 - AES256-SHA head2 - /C=US/ST=California/L=San Jose/O=eBay Inc./OU=Site Operations/CN=signin.ebay.com head3 - /C=US/O=RSA Data Security, Inc./OU=Secure Server Certification Authority status is 200 OK I learned that I needed to have the correct Perl mods for LWP to handle SSL installed on my server and made sure they were there. Crypt::SSLeay and Net::SSLeay were already present and I had IO::Socket::SSL added. This is all running on RHEL 3. Any assistance/guidance/pointers are most appreciated. Thanks, Steve |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Problem using HTML::Form with LWP & SSL: 00050, sborruso@xxxxxxxxxxxxx |
|---|---|
| Next by Date: | Re: RFC HTTP::Cache module: 00050, Randal L. Schwartz |
| Previous by Thread: | Problem using HTML::Form with LWP & SSLi: 00050, sborruso@xxxxxxxxxxxxx |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |