develooper Front page | perl.libwww | Postings from June 2003

[Crypt::SSLeay] Peer certificate not verified problem

Thread Next
From:
Sterin, Ilya
Date:
June 8, 2003 00:40
Subject:
[Crypt::SSLeay] Peer certificate not verified problem
Message ID:
000001c32d90$fbdcd4c0$8f682944@laptop1
Crypt::SSLeay version .49.

I'm having an issue with receiving a result of...

.... stuff before ....
Client-SSL-Cipher: EDH-RSA-DES-CBC3-SHA
Client-SSL-Warning: Peer certificate not verified
.... stuff after ....

response from a server.  The weird thing is that it used to work about a
week ago, and I don't remember making any upgrades, etc...

Is there something that possibly changed in some module, where it
generates this error, since I might of upgraded/downgraded something.

Basically, if someone can help me resolve this issue, I'd greatly
appreciate it.  I'm not using any certificates, therefore, I don't know
why it's returning the above.  Here is a small code snippet...

########################

my $req = HTTP::Request->new(POST => $HOST1, HTTP::Headers->new);
$req->authorization_basic('username', 'password');
$req->header('Accept' => 'text/xml');
$req->header('dev-t' => $TOKEN);
$req->header('NumberOfReports' => '1');
$req->header('ReportName' => 'Order');
$req->headers->push_header('Cookie',"x-main=YvjPkwfntqDKun0QEmVRPcTTZDMe
?Tn?;ubid-main=002-8989859-9917520;ubid-tacbus=019-5423258-4241018;x-tac
bus=vtm4d53DvX\@Sc9LxTnAnxsFL3DorwxJa;
ubid-tcmacb=087-8055947-0795529;ubid-ty2kacbus=161-5477122-2773524;
session-id=087-178254-5924832; session-id-time=950660664");
my $res = LWP::UserAgent->new->request($req) || die $!;
print "Response: ".$res->as_string();

########################

Thanks.

Ilya

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About