mario has asked for the wisdom of the Perl Monks concerning the following question:
hi monks.
I use the Email::Folder::Exchange module to access my mailbox in outlook web access (OWA)
the exchange server is secure site at the following address
https://exchange.cre-eight.com/exchange( the script require the Authen::Negotiate module ).
I am using the latest version of LWP and Crypt::SSleay from CPAN and always have the same answer of server. 401 access is denied ,due to script is unable to verify peer certificate.
i try to doit with links "https:://exchange.cre-eight.com/exchange" and get the same answers (401 access is denied).
someone can give me a clue.
This is the response of the server.
_content => "<html><head><title>Error</title></head><body>Error: Access is Denied.</body></html>",
_headers => bless({
"client-date" => "Fri, 22 Aug 2008 17:29:48 GMT",
"client-peer" => "207.200.20.115:443",
"client-response-num" => 1,
"client-ssl-cert-issuer" => "/C=US/O=Equifax/OU=Equifax Secure Certificate Authority",
"client-ssl-cert-subject" => "/C=US/O=exchange.cre-eight.com/OU=GT35524642/OU=See www.geotrust.com/resources/cps (c)08/OU=Domain Control Validated - QuickSSL Premium(R)/CN=exchange.cre-eight.com",
"client-ssl-cipher" => "RC4-MD5",
"client-ssl-warning" => "Peer certificate not verified",
"content-length" => 83,
"content-type" => "text/html",
date => "Fri, 22 Aug 2008 17:29:10 GMT",
server => "Microsoft-IIS/6.0",
title => "Error",
"www-authenticate" => "Negotiate", "NTLM", "Basic realm=\"exchange.cre-eight.com\"",
"x-powered-by" => "ASP.NET",
}, "HTTP::Headers"),
_msg => "Unauthorized",
_protocol => "HTTP/1.1",
_rc => 401,
_request => bless({
_content => "destination=https%3A%2F%2Fexchange.cre-eight.com%2Fexchange&username=xxxxxxx&password=xxxxx",
_headers => bless({
"content-type" => "application/x-www-form-urlencoded",
"user-agent" => "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)",
}, "HTTP::Headers"),
_method => "POST",
_uri => bless(do{\(my $o = "https://exchange.cre-eight.com/exchweb/bin/auth/owaauth.dll")}, "URI::https"),
}, "HTTP::Request"),
}, "HTTP::Response")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem to access Exchange server
by spivey49 (Monk) on Aug 22, 2008 at 19:04 UTC |