------_=_NextPart_001_01C62B2A.371E6F00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I=B4m getting a little bit extra-crazy with the Crypt::SSLeay perl =
module. My
problem is next:
I=B4ve got a script that downloads a file from a HTTPS server with CA
authentication. My script seams like:
/******************************************************/
my $ua =3D LWP::UserAgent->new;
$ua->timeout(20);
$myfile =3D shift( [at] ARGV);
my $URLS =3D ('https://midominio/' . $myfile);
my $response =3D $ua->get($URL);
/******************************************************/
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:
/******************************************************/
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET <https://mydomain/mifilename>
https://mydomain/mifilename
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::UserAgent::request: Simple response: Internal Server Error
/******************************************************/
I don=B4t know what to do with it so... do you have any idea about what =
maybe
the problem ?
Thanks a lot.
------_=_NextPart_001_01C62B2A.371E6F00--
