Newbie question.
I am having trouble getting ssl enabled pages/uri using the user-agent/request object. I checked the documentation and it says it is supposed to work w/o requiring to do anything special/more (just as http). Here is excerpt of the test code I am trying: use LWP::UserAgent; use URI::URL; use HTTP::Headers; use HTTP::Request; use Time::gmtime; #use Time::HiRes qw(gettimeofday); use HTTP::Request::Common; use HTTP::Cookies; # Create the user agent that will act as the browser $ua = LWP::UserAgent->new; $ua->cookie_jar(HTTP::Cookies->new()); my $request = GET( "https://Server-Dns-Name/SSLTest/default.htm" ); my $response = $ua->request($request); if ( $response->code() != 200 ) # error #elsif #success. The above get request fails with an http status code of 501 - I took a network sniff and it does'nt even attempt sending out the request or anything at all on the wire. That apart, if I am reading the documentation correctly, the above request should succeed unless you set the "If-SSL-Cert-Subject" header to something and expect only that certificate which I am not setting. Meaning if I was to think that it do not like the certificate because it is un-trusted etc.. At one pt I thought it was perhaps a bug in ActivePerl impl (5.6.1) that I have on my box but it fails with one other perl implementation also. The above thing works fine when I get plain http urls. Any ideas what I am missing? TIA, -Jayant -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]