unable to connect to rpc server exchange

i have been trying to fix an issue that has been driving me nutz.
trying to use outlook anywhere from a remote computer
server 2008 r2, exchange 2007 w/sp2

any help will be appreciated...
Exchange Web Services Synchronization, Notification, Availability, and OOF
 	Failed to complete all Exchange Web Services tasks tests
 	
	Test Steps
 	
	Attempting to test Autodiscover for user@mail.dk-systems.com
 	Testing Autodiscover failed
 	
	Test Steps
 	
	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 https://mail.dk-systems.com/AutoDiscover/AutoDiscover.xml
 	Failed testing this potential AutoDiscover URL
 	
	Test Steps
 	
	Attempting to resolve the host name mail.dk-systems.com in DNS.
 	Host successfully resolved
 	
	Additional Details
 	IP(s) returned: 168.215.66.160
	Testing TCP Port 443 on host mail.dk-systems.com to ensure it is listening and open.
 	The port was opened successfully.
	Testing SSL Certificate for validity.
 	The certificate passed all validation requirements.
 	
	Test Steps
 	
	Validating certificate name
 	Successfully validated the certificate name
 	
	Additional Details
 	Found hostname mail.dk-systems.com in Certificate Subject Alternative Name entry
	Testing certificate date to ensure validity
 	Date Validation passed. The certificate is not expired.
 	
	Additional Details
 	Certificate is valid: NotBefore = 3/19/2010 3:27:05 PM, NotAfter = 3/19/2011 3:27:05 PM"
	Attempting to send AutoDiscover POST request to potential autodiscover URLs.
 	Failed to obtain AutoDiscover settings when sending AutoDiscover POST request.
 	
	Test Steps
 	
	Attempting to Retrieve XML AutoDiscover Response from url https://mail.dk-systems.com/AutoDiscover/AutoDiscover.xml for user user@mail.dk-systems.com
 	Failed to obtain AutoDiscover XML response.
 	
	Additional Details
 	A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
	Attempting to test potential AutoDiscover URL https://autodiscover.mail.dk-systems.com/AutoDiscover/AutoDiscover.xml
 	Failed testing this potential AutoDiscover URL
 	
	Test Steps
 	
	Attempting to resolve the host name autodiscover.mail.dk-systems.com in DNS.
 	Host successfully resolved
 	
	Additional Details
 	IP(s) returned: 168.215.66.160
	Testing TCP Port 443 on host autodiscover.mail.dk-systems.com to ensure it is listening and open.
 	The port was opened successfully.
	Testing SSL Certificate for validity.
 	The SSL Certificate failed one or more certificate validation checks.
 	
	Test Steps
 	
	Validating certificate name
 	Certificate name validation failed
 	 Tell me more about this issue and how to resolve it
 	
	Additional Details
 	Host name autodiscover.mail.dk-systems.com does not match any name found on the server certificate CN=mail
	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.mail.dk-systems.com in DNS.
 	Host successfully resolved
 	
	Additional Details
 	IP(s) returned: 168.215.66.160
	Testing TCP Port 80 on host autodiscover.mail.dk-systems.com to ensure it is listening and open.
 	The port was opened successfully.
	Checking Host autodiscover.mail.dk-systems.com for an HTTP redirect to AutoDiscover
 	Failed to get an HTTP redirect response for AutoDiscover
 	
	Additional Details
 	A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown
	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.mail.dk-systems.com in DNS.
 	Successfully retrieved AutoDiscover SRV record from DNS.
 	
	Additional Details
 	Srv Record returned host: mail.dk-systems.com
	Attempting to test potential AutoDiscover URL https://mail.dk-systems.com/Autodiscover/Autodiscover.xml
 	Failed testing this potential AutoDiscover URL
 	
	Test Steps
 	
	Attempting to resolve the host name mail.dk-systems.com in DNS.
 	Host successfully resolved
 	
	Additional Details
 	IP(s) returned: 168.215.66.160
	Testing TCP Port 443 on host mail.dk-systems.com to ensure it is listening and open.
 	The port was opened successfully.
	Testing SSL Certificate for validity.
 	The certificate passed all validation requirements.
 	
	Test Steps
 	
	Validating certificate name
 	Successfully validated the certificate name
 	
	Additional Details
 	Found hostname mail.dk-systems.com in Certificate Subject Alternative Name entry
	Testing certificate date to ensure validity
 	Date Validation passed. The certificate is not expired.
 	
	Additional Details
 	Certificate is valid: NotBefore = 3/19/2010 3:27:05 PM, NotAfter = 3/19/2011 3:27:05 PM"
	Attempting to send AutoDiscover POST request to potential autodiscover URLs.
 	Failed to obtain AutoDiscover settings when sending AutoDiscover POST request.
 	
	Test Steps
 	
	Attempting to Retrieve XML AutoDiscover Response from url https://mail.dk-systems.com/Autodiscover/Autodiscover.xml for user user@mail.dk-systems.com
 	Failed to obtain AutoDiscover XML response.
 	
	Additional Details
 	A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown

Open in new window

LVL 1
03671328Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Rick FeeConnect With a Mentor Messaging Engineer - Disaster Recovery EngineerCommented:
I see you ran the test with the Connectivity Analyzer...but have you attempted to connect via Outlook...
0
 
Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
Your using a self signed cert and the name is just mail and needs to be mail.dk-systems.com

If you are going to use a selfsigned cert and not a publicly trusted cert run this command to make the cert namespace match that of your DNS namespace

Run in Exchange shell then enable for iis:
New-ExchangeCertificate -SubjectName "c=US,o=DKSystems,cn=mail.dk-systems.com"

Enable-ExchangeCertificate -thumbprint <thumbprint of cert> -Services IIS

Once done install the cert on the workstation you are attempting to connect with Outlook Anywhere into the Trusted Root certificates
0
 
03671328Author Commented:
ok done that still have an error though.
Attempting to test Autodiscover for user@mail.dk-systems.com 
  Testing Autodiscover failed 
   Test Steps 
   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 https://mail.dk-systems.com/AutoDiscover/AutoDiscover.xml 
  Failed testing this potential AutoDiscover URL 
   Test Steps 
   Attempting to resolve the host name mail.dk-systems.com in DNS. 
  Host successfully resolved 
   Additional Details 
  IP(s) returned: 168.215.66.160  
 
 Testing TCP Port 443 on host mail.dk-systems.com to ensure it is listening and open. 
  The port was opened successfully. 
 Testing SSL Certificate for validity. 
  The certificate passed all validation requirements. 
   Test Steps 
   Validating certificate name 
  Successfully validated the certificate name 
   Additional Details 
  Found hostname mail.dk-systems.com is a Wildcard Certificate match for Common name: *.dk-systems.com  
 
 Testing certificate date to ensure validity 
  Date Validation passed. The certificate is not expired. 
   Additional Details 
  Certificate is valid: NotBefore = 4/1/2010 4:37:52 AM, NotAfter = 4/1/2011 4:37:52 AM"  
 
 
 
 Attempting to send AutoDiscover POST request to potential autodiscover URLs. 
  Failed to obtain AutoDiscover settings when sending AutoDiscover POST request. 
   Test Steps 
   Attempting to Retrieve XML AutoDiscover Response from url https://mail.dk-systems.com/AutoDiscover/AutoDiscover.xml for user dw5304@mail.dk-systems.com 
  Failed to obtain AutoDiscover XML response. 
   Additional Details 
  A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown  
 
 
 
 
 
 Attempting to test potential AutoDiscover URL https://autodiscover.mail.dk-systems.com/AutoDiscover/AutoDiscover.xml 
  Failed testing this potential AutoDiscover URL 
   Test Steps 
   Attempting to resolve the host name autodiscover.mail.dk-systems.com in DNS. 
  Host successfully resolved 
   Additional Details 
  IP(s) returned: 168.215.66.160  
 
 Testing TCP Port 443 on host autodiscover.mail.dk-systems.com to ensure it is listening and open. 
  The port was opened successfully. 
 Testing SSL Certificate for validity. 
  The certificate passed all validation requirements. 
   Test Steps 
   Validating certificate name 
  Successfully validated the certificate name 
   Additional Details 
  Found hostname autodiscover.mail.dk-systems.com is a Wildcard Certificate match for Common name: *.dk-systems.com  
 
 Testing certificate date to ensure validity 
  Date Validation passed. The certificate is not expired. 
   Additional Details 
  Certificate is valid: NotBefore = 4/1/2010 4:37:52 AM, NotAfter = 4/1/2011 4:37:52 AM"  
 
 
 
 Attempting to send AutoDiscover POST request to potential autodiscover URLs. 
  Failed to obtain AutoDiscover settings when sending AutoDiscover POST request. 
   Test Steps 
   Attempting to Retrieve XML AutoDiscover Response from url https://autodiscover.mail.dk-systems.com/AutoDiscover/AutoDiscover.xml for user user@mail.dk-systems.com 
  Failed to obtain AutoDiscover XML response. 
   Additional Details 
  Exception Details:
Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Type: System.Net.WebException
Stack Trace:
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.Tools.ExRca.Tests.AutoDiscover.AutoDiscoverGetXMLBase`2.Discover()
Exception Details:
Message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Type: System.Net.WebException
Stack Trace:
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.Tools.ExRca.Tests.AutoDiscover.AutoDiscoverGetXMLBase`2.Discover()
 
 
 
 
 
 
 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.mail.dk-systems.com in DNS. 
  Host successfully resolved 
   Additional Details 
  IP(s) returned: 168.215.66.160  
 
 Testing TCP Port 80 on host autodiscover.mail.dk-systems.com to ensure it is listening and open. 
  The port was opened successfully. 
 Checking Host autodiscover.mail.dk-systems.com for an HTTP redirect to AutoDiscover 
  Failed to get an HTTP redirect response for AutoDiscover 
   Additional Details 
  A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown  
 
 
 
 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.mail.dk-systems.com in DNS. 
  Successfully retrieved AutoDiscover SRV record from DNS. 
   Additional Details 
  Srv Record returned host: mail.dk-systems.com  
 
 Attempting to test potential AutoDiscover URL https://mail.dk-systems.com/Autodiscover/Autodiscover.xml 
  Failed testing this potential AutoDiscover URL 
   Test Steps 
   Attempting to resolve the host name mail.dk-systems.com in DNS. 
  Host successfully resolved 
   Additional Details 
  IP(s) returned: 168.215.66.160  
 
 Testing TCP Port 443 on host mail.dk-systems.com to ensure it is listening and open. 
  The port was opened successfully. 
 Testing SSL Certificate for validity. 
  The certificate passed all validation requirements. 
   Test Steps 
   Validating certificate name 
  Successfully validated the certificate name 
   Additional Details 
  Found hostname mail.dk-systems.com is a Wildcard Certificate match for Common name: *.dk-systems.com  
 
 Testing certificate date to ensure validity 
  Date Validation passed. The certificate is not expired. 
   Additional Details 
  Certificate is valid: NotBefore = 4/1/2010 4:37:52 AM, NotAfter = 4/1/2011 4:37:52 AM"  
 
 
 
 Attempting to send AutoDiscover POST request to potential autodiscover URLs. 
  Failed to obtain AutoDiscover settings when sending AutoDiscover POST request. 
   Test Steps 
   Attempting to Retrieve XML AutoDiscover Response from url https://mail.dk-systems.com/Autodiscover/Autodiscover.xml for user dw5304@mail.dk-systems.com 
  Failed to obtain AutoDiscover XML response. 
   Additional Details 
  A Web Exception occurred because an HTTP 401 - Unauthorized response was received from Unknown

Open in new window

0
 
Shreedhar EtteCommented:
Hi,

Run Exchange Best Practice Analyzer on the server and fix the errors reported.

Also refer this article:
http://social.technet.microsoft.com/Forums/en/exchangesvrclients/thread/e507dffe-a6ce-475b-8a12-9d66f98db99f

I hope this helps,
Shree
0
 
03671328Author Commented:
after 6 hours i just tried it.... works wtf?

why dose the connectivity analyzer not work and yet outlook dose?
im kinda lost.
0
All Courses

From novice to tech pro — start learning today.