Crypt::SSLeay problem
am 06.02.2006 15:32:54 von JAMAPLA------_=_NextPart_001_01C62B2A.371E6F00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
I=B4m getting a little bit extra-crazy with the Crypt::SSLeay perl =
module. My
problem is next:
=20
I=B4ve got a script that downloads a file from a HTTPS server with CA
authentication. My script seams like:
=20
/******************************************************/
my $ua =3D LWP::UserAgent->new;
=20
$ua->timeout(20);
=20
$myfile =3D shift(@ARGV);
my $URLS =3D ('https://midominio/' . $myfile);
=20
my $response =3D $ua->get($URL);
/******************************************************/
=20
Well, the fact is that when I run the perl script (/usr/bin/perl
myperlscript myfilename) from the linux console with the root =
superuser, It
works ok, but if I run it with another user than root or even if I try =
to
schedule (cron) with the root, it fails and return this error log =
message:
=20
/******************************************************/
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET
https://mydomain/mifilename
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::UserAgent::request: Simple response: Internal Server Error
/******************************************************/
=20
I don=B4t know what to do with it so... do you have any idea about what =
maybe
the problem ?
=20
Thanks a lot.
------_=_NextPart_001_01C62B2A.371E6F00--