Hi,
I'm getting a little bit extra-crazy with the Crypt::SSLeay perl module. My problem is next:
I've got a script that downloads a file from a HTTPS server with CA authentication. My script seams like:
/******************************************************/
my $ua = LWP::UserAgent->new;
$ua->timeout(20);
$nombrefichero = shift(@ARGV);
my @URLS = ('https://midominio/' . $nombrefichero);
my $response = $ua->get($laurl);
/******************************************************/
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
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::UserAgent::request: Simple response: Internal Server Error
/******************************************************/
I dont know what to do with it so... do you have any idea about what maybe the problem ?
Thanks a lot.
(3)
]
