Re: PLease help! Using LWP to check to see if Secure Server is running
Might look at the LWP::SecureSocket module in the CPAN archives. I've never tried it, but from the description it work with what you're looking to do. "Varga, Jack" wrote: Sorry. This is not correct. LWP apparently doesn't support HTTPS out of the box because of the complexities associated with key exchanges and cert mgmt. -Original Message- From: Varga, Jack [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 2:39 PM To: '[EMAIL PROTECTED]' Subject: RE: PLease help! Using LWP to check to see if Secure Server is ru nning My guess is LWP by default sends requests to port 80. There must be a method to specify a different port... The request string where you specified the url... my $req = new HTTP::Request('GET', 'https://www.someserver.com'); ...just get's added the the http header inside the tcp payload and interpreted by the http daemon on port 80. -- Jack VargaSMTS| [EMAIL PROTECTED] Circadence Corporation| 303.413.8800 x 1082 4888 Perl East Circle | Boulder, Colorado 80301 -Original Message- From: Frank Belfie [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 2:20 PM To: [EMAIL PROTECTED] Subject: PLease help! Using LWP to check to see if Secure Server is running use LWP::UserAgent; my $ua = new LWP::UserAgent; my $req = new HTTP::Request('GET', 'https://www.someserver.com'); my $res = $ua-request($req); print $res-code."\n"; The return code is always 501 with secure servers, and 200 with non-secure. Should this code work? I know the ssl server is up and listening, yet I get the 501 code. All I need this to do is see if it is still taking requests. I installed the openssl, and all neccessary packages. RedHat 7.0, Perl5.6.0. Doesn't throw any errors? Any help is very appreciated! Thanks, Frank Belfie Datacomm Engineer Commerce Bank, N.A. [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Problem with IE IE 5.01SP1 with apache 1.3.24/openssl 0.9.5a (RH7.0)
I performed a clean install (read as reformat and reload) for a server used for secure http connects this weekend using RedHat 7.0, which came with , such that the server is running Apache 1.3.14-3 using OpenSSL 0.9.5a and mod_ssl 2.7.1-3. Prior to the upgrade, the server had been using Apache 1.3.6 and OpenSSL 0.9.3a. Following this, I am now receiving reports of problems when some users attempt to make https (secure http) connections. The browsers affected appear to be those versions of IE (Internet Explorer) prior to 5.01 SP1 (I have been able to test versions 4.01 SP1a 128-bit, 5.00.2614.3500 40 and 128-bit, and duplicate the effect, but not with versions 5.01SP1 or above). I had not received reports of such issues before the upgrade. The general scenario I am seeing is thus: The user clicks on a link for secure ordering, gets the form which is missing one or more of the images also on the form page, but when they submit the form, they get an error saying the server could not be found, or that a DNS error occurred, or that an error occurred in the secure channel support. The logs on the server show nothing regarding the connection. I have contacted Microsoft, and while the technician I spoke with did not rule out that there might be a problem with the earlier browsers, he and the other technicians he spoke with suggested that since it became apparent after the upgrade, that there may be a problem with a setting or configuration option on the server. I can find few if any references to this kind of issue, and generally those only reference one particular incarnation of the browser. I am at a loss as to the next step to take, so any suggestions (especially from those having experienced and corrected similar issues) would be greatly, greatly appreciated. -Albert Croft __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]