I've been banging my head against the wall with Exchange 2007 for the past few days.
Users can get mail without a problem and were getting autodiscover certificate errors. I got a UCC certificate and set up the SANs so that they aren't getting the error anymore but autodiscover and RPC still doesn't work.
It's Exchange 2007 SP1 on Server 2008. I've posted the get-outlookanywhere and get-clientaccessserver from the server and the results of the exchange test.
CAS
Name : CAS01
OutlookAnywhereEnabled : True
AutoDiscoverServiceCN : CAS01
AutoDiscoverServiceClassName : ms-Exchange-AutoDiscover-Service
AutoDiscoverServiceInternalUri : AutoDiscoverServiceGuid : 77378f46-2c66-4aa9-a6a6-3e7a48b19596
AutoDiscoverSiteScope : {Default-First-Site-Name}
IsValid : True
OriginatingServer : DC.domain.local
ExchangeVersion : 0.1 (8.0.535.0)
DistinguishedName : CN=CAS01,CN=Servers,CN=Exchange Adminis
trative Group (FYDIBOHF23SPDLT),CN=Administrat
ive Groups,CN=First Organization,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=bhmi,
DC=add
Identity : CAS01
Guid : e7e7cd6f-01c2-4364-a3b9-971d170fc954
ObjectCategory : domain.local/Configuration/Schema/ms-Exch-Exchange
-Server
ObjectClass : {top, server, msExchExchangeServer}
WhenChanged : 5/1/2009 10:00:34 AM
WhenCreated : 10/31/2008 11:34:24 AM
OUTLOOK ANYWHERE
ServerName : CAS01
SSLOffloading : False
ExternalHostname : mail.externaldomain.com
ClientAuthenticationMethod : Basic
IISAuthenticationMethods : {Basic}
MetabasePath : IIS://CAS01.domain.local/W3SVC/1/ROOT/Rpc
Path : C:\Windows\System32\RpcProxy
Server : CAS01
AdminDisplayName :
ExchangeVersion : 0.1 (8.0.535.0)
Name : Rpc (Default Web Site)
DistinguishedName : CN=Rpc (Default Web Site),CN=HTTP,CN=Protocols,CN=
CAS01,CN=Servers,CN=Exchange Administrative
Group (FYDIBOHF23SPDLT),CN=Administrative Groups,
CN=First Organization,CN=Microsoft Exchange,CN=Ser
vices,CN=Configuration,DC=bhmi,DC=add
Identity : CAS01\Rpc (Default Web Site)
Guid : 828800a2-e45d-4b9f-997c-b54306986449
ObjectCategory : domain.local/Configuration/Schema/ms-Exch-Rpc-Http-Vir
tual-Directory
ObjectClass : {top, msExchVirtualDirectory, msExchRpcHttpVirtual
Directory}
WhenChanged : 4/29/2009 5:12:09 PM
WhenCreated : 4/29/2009 5:12:09 PM
OriginatingServer : DC.domain.local
IsValid : True
Attempting each method of contacting the AutoDiscover Service
Failed to contact the AutoDiscover service successfully by any method
Test Steps
Attempting to test potential AutoDiscover URL Failed testing this potential AutoDiscover URL
Test Steps
Attempting to Resolve the host name alternateexternaldomain.com in DNS.
Host successfully Resolved
Additional Details
IP(s) returned: 216.160.*.*
Testing TCP Port 443 on host alternateexternaldomain.com to ensure it is listening/open.
The port was opened successfully.
Testing SSLCertificate for validity.
The SSLCertificate failed one or more certificate validation checks.
Additional Details
The name on the certificate does not match the name alternateexternaldomain.com
Attempting to test potential AutoDiscover URL Failed testing this potential AutoDiscover URL
Test Steps
Attempting to Resolve the host name autodiscover.alternateexternaldomain.com in DNS.
Host successfully Resolved
Additional Details
IP(s) returned: 216.160.*.*
Testing TCP Port 443 on host autodiscover.alternateexternaldomain.com to ensure it is listening/open.
The port was opened successfully.
Testing SSLCertificate for validity.
The certificate passed all validation requirements.
Additional Details
Subject: CN=autodiscover.desertvalleyhomecare.com, OU=Domain Control Validated, O=autodiscover.desertvalleyhomecare.com, Issuer SERIALNUMBER=07969287, CN=Go Daddy Secure Certification Authority, OU= O="GoDaddy.com, Inc.", L=Scottsdale, S=Arizona, C=US
Attempting to Retrieve XML AutoDiscover Response from url for user lee@alternateexternaldomain.com
Failed to obtain AutoDiscover XML response.
Additional Details
A Web Exception occured because an HTTP 400 - BadRequest response was received from Unknown
Attempting to contact the AutoDiscover service using the HTTP redirect method.
Failed to contact AutoDiscover using the HTTP Redirect method
Test Steps
Attempting to Resolve the host name autodiscover.alternateexternaldomain.com in DNS.
Host successfully Resolved
Additional Details
IP(s) returned: 216.160.*.*
Testing TCP Port 80 on host autodiscover.alternateexternaldomain.com to ensure it is listening/open.
The specified port is either blocked, not listening, or not producing the expected response.
Additional Details
A network error occurred while communicating with remote host: Exception Details: Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 216.160.*.*:80 Type: System.Net.Sockets.SocketException Stack Trace: at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port) at Microsoft.Exchange.Tools.ExRca.Tests.TcpPortTest.PerformTestReally()
Attempting to contact the AutoDiscover service using the DNS SRV redirect method.
Failed to contact AutoDiscover using the DNS SRV redirect method.
Test Steps
Attempting to locate SRV record _autodiscover._tcp.alternateexternaldomain.com in DNS.
Failed to find AutoDiscover SRV record in DNS.
Users can get mail without a problem and were getting autodiscover certificate errors. I got a UCC certificate and set up the SANs so that they aren't getting the error anymore but autodiscover and RPC still doesn't work.
It's Exchange 2007 SP1 on Server 2008. I've posted the get-outlookanywhere and get-clientaccessserver from the server and the results of the exchange test.
CAS
Name : CAS01
OutlookAnywhereEnabled : True
AutoDiscoverServiceCN : CAS01
AutoDiscoverServiceClassName : ms-Exchange-AutoDiscover-Service
AutoDiscoverServiceInternalUri : AutoDiscoverServiceGuid : 77378f46-2c66-4aa9-a6a6-3e7a48b19596
AutoDiscoverSiteScope : {Default-First-Site-Name}
IsValid : True
OriginatingServer : DC.domain.local
ExchangeVersion : 0.1 (8.0.535.0)
DistinguishedName : CN=CAS01,CN=Servers,CN=Exchange Adminis
trative Group (FYDIBOHF23SPDLT),CN=Administrat
ive Groups,CN=First Organization,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=bhmi,
DC=add
Identity : CAS01
Guid : e7e7cd6f-01c2-4364-a3b9-971d170fc954
ObjectCategory : domain.local/Configuration/Schema/ms-Exch-Exchange
-Server
ObjectClass : {top, server, msExchExchangeServer}
WhenChanged : 5/1/2009 10:00:34 AM
WhenCreated : 10/31/2008 11:34:24 AM
OUTLOOK ANYWHERE
ServerName : CAS01
SSLOffloading : False
ExternalHostname : mail.externaldomain.com
ClientAuthenticationMethod : Basic
IISAuthenticationMethods : {Basic}
MetabasePath : IIS://CAS01.domain.local/W3SVC/1/ROOT/Rpc
Path : C:\Windows\System32\RpcProxy
Server : CAS01
AdminDisplayName :
ExchangeVersion : 0.1 (8.0.535.0)
Name : Rpc (Default Web Site)
DistinguishedName : CN=Rpc (Default Web Site),CN=HTTP,CN=Protocols,CN=
CAS01,CN=Servers,CN=Exchange Administrative
Group (FYDIBOHF23SPDLT),CN=Administrative Groups,
CN=First Organization,CN=Microsoft Exchange,CN=Ser
vices,CN=Configuration,DC=bhmi,DC=add
Identity : CAS01\Rpc (Default Web Site)
Guid : 828800a2-e45d-4b9f-997c-b54306986449
ObjectCategory : domain.local/Configuration/Schema/ms-Exch-Rpc-Http-Vir
tual-Directory
ObjectClass : {top, msExchVirtualDirectory, msExchRpcHttpVirtual
Directory}
WhenChanged : 4/29/2009 5:12:09 PM
WhenCreated : 4/29/2009 5:12:09 PM
OriginatingServer : DC.domain.local
IsValid : True
Attempting each method of contacting the AutoDiscover Service
Failed to contact the AutoDiscover service successfully by any method
Test Steps
Attempting to test potential AutoDiscover URL Failed testing this potential AutoDiscover URL
Test Steps
Attempting to Resolve the host name alternateexternaldomain.com in DNS.
Host successfully Resolved
Additional Details
IP(s) returned: 216.160.*.*
Testing TCP Port 443 on host alternateexternaldomain.com to ensure it is listening/open.
The port was opened successfully.
Testing SSLCertificate for validity.
The SSLCertificate failed one or more certificate validation checks.
Additional Details
The name on the certificate does not match the name alternateexternaldomain.com
Attempting to test potential AutoDiscover URL Failed testing this potential AutoDiscover URL
Test Steps
Attempting to Resolve the host name autodiscover.alternateexternaldomain.com in DNS.
Host successfully Resolved
Additional Details
IP(s) returned: 216.160.*.*
Testing TCP Port 443 on host autodiscover.alternateexternaldomain.com to ensure it is listening/open.
The port was opened successfully.
Testing SSLCertificate for validity.
The certificate passed all validation requirements.
Additional Details
Subject: CN=autodiscover.desertvalleyhomecare.com, OU=Domain Control Validated, O=autodiscover.desertvalleyhomecare.com, Issuer SERIALNUMBER=07969287, CN=Go Daddy Secure Certification Authority, OU= O="GoDaddy.com, Inc.", L=Scottsdale, S=Arizona, C=US
Attempting to Retrieve XML AutoDiscover Response from url for user lee@alternateexternaldomain.com
Failed to obtain AutoDiscover XML response.
Additional Details
A Web Exception occured because an HTTP 400 - BadRequest response was received from Unknown
Attempting to contact the AutoDiscover service using the HTTP redirect method.
Failed to contact AutoDiscover using the HTTP Redirect method
Test Steps
Attempting to Resolve the host name autodiscover.alternateexternaldomain.com in DNS.
Host successfully Resolved
Additional Details
IP(s) returned: 216.160.*.*
Testing TCP Port 80 on host autodiscover.alternateexternaldomain.com to ensure it is listening/open.
The specified port is either blocked, not listening, or not producing the expected response.
Additional Details
A network error occurred while communicating with remote host: Exception Details: Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 216.160.*.*:80 Type: System.Net.Sockets.SocketException Stack Trace: at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port) at Microsoft.Exchange.Tools.ExRca.Tests.TcpPortTest.PerformTestReally()
Attempting to contact the AutoDiscover service using the DNS SRV redirect method.
Failed to contact AutoDiscover using the DNS SRV redirect method.
Test Steps
Attempting to locate SRV record _autodiscover._tcp.alternateexternaldomain.com in DNS.
Failed to find AutoDiscover SRV record in DNS.