Article ID: 2783881 - View products that this article applies to.
Expand all | Collapse all

Summary

When Microsoft Outlook performs an AutoDiscover operation and tries to connect to a service endpoint where the expected name is not present on the server's Secure Sockets Layer (SSL) certificate, you may receive a warning message that resembles the following:
The name on the security certificate is invalid or does not match the name of the site.

Do you want to proceed?

When this warning message occurs, you can click Yes to accept the warning. However, it may reappear the next time AutoDiscover runs.

You or administrators may want to suppress the warning message for a specific HTTP endpoint that is in your organization. This article contains information about how to do this.

Cause

You receive the warning when all of the following conditions are true:
  • DNS and the IIS service are installed on the same server, for example DC1.contoso.com.
  • A Name Server (NS) record is created for the server.
  • The IIS service is configured to use Secure Sockets Layer (SSL).

Outlook uses the domain name part of the user's SMTP address to query DNS. In this example, the domain name is contoso.com. Outlook resolves contoso.com to an NS record for the DNS server. On the DNS server, IIS is configured to use an SSL certificate. The SSL certificate subject is DC1.contoso.com. However, Outlook tries to connect to https://contoso.com/autodiscover/autodiscover.xml. The certificate name mismatch causes Outlook to present the warning described earlier.

Workaround

Use one of the following methods to work around this issue.

Method 1: Reissue a certificate that includes the domain name as the Subject Alternative Name

Reissue a certificate that includes the domain name (contoso.com) as the Subject Alternative Name. This solution may be appropriate if you cannot implement client-side registry keys, or have only a limited number of domains.

Method 2: Do not install the IIS service and DNS on the same server

Install the IIS and DNS roles on separate servers.

Method 3: Do not install or bind an SSL certificate on the DNS server running IIS

If the IIS site does not require SSL, you can remove the certificate. Or, you can unbind TCP 443 (SSL port) from the Default Web Site.

Method 4: Configure Outlook to allow the connection to the mismatched domain name

ImportantThis section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To configure Outlook to ignore the name mismatch and connect to a specific HTTP endpoint, you can set or deploy a registry value. To do this, follow these steps:
  1. Close Outlook.
  2. Start Registry Editor.
    • In Windows Vista, click Start
      Collapse this imageExpand this image
      Start button
      , type regedit in the Start Search box, and then press ENTER.

      Collapse this imageExpand this image
      User Account Control permission
      If you are prompted for an administrator password or confirmation, type the password, or click Continue.
    • In Windows XP, click Start, click Run, type regedit in the Open box, and then click OK.
  3. Locate and then click to select the following registry subkey:
    HKEY_CURRENT_USER\Software\Microsoft\Office\xx.0\Outlook\AutoDiscover\RedirectServers
    Note You can also use the following registry subkey:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\xx.0\Outlook\AutoDiscover\RedirectServers
    Where xx is 12.0 for Outlook 2007, 14.0 for Outlook 2010, and 15.0 for Outlook 2013.
  4. Click the Edit menu, point to New, and then click String Value.
  5. Type the name of the HTTPS server to which AutoDiscover can be connect without warning for the user, and then press ENTER. For example, to allow a connection to https://contoso.com, the first String Value (REG_SZ) name would be as follows:

    contoso.com
  6. You do not have to add text to the Value data box. The Data column should remain empty for the string values that you create.
  7. To add more HTTPS servers to which AutoDiscover can connect without displaying a warning, repeat steps 4 and 5 for each server.
  8. On the File menu, click Exit to exit Registry Editor.

References

For more information about the AutoDiscover service, visit the following Microsoft TechNet website:
http://technet.microsoft.com/en-us/library/bb124251(EXCHG.80).aspx

Properties

Article ID: 2783881 - Last Review: November 19, 2012 - Revision: 1.0
Applies to
  • Microsoft Outlook 2013
  • Microsoft Outlook 2010
  • Microsoft Office Outlook 2007
Keywords: 
KB2783881

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com