i am using Mojo::Useragent to fetch some site behind a proxy which defined using HTTP_PROXY and HTTPS_PROXY
below an example of the code :
my $rs = $ua->insecure(1)->get($mysite)
if($rs->res->is_success) {
.....
} else {
print "Problem with fetching $mysite \n";
print $rs->res->error->{message};
}
I am getting this error:
SSL connect attempt failed error:14077419:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert access denied
While when i am using curl on the same machine I get the results as expected.
Any idea how to solve this issue?