Replaced Cert now Outlook giving error.

Our existing SAN Cert expired so I bought and installed a new one from godaddy. The old Cert had SAN Names for the internal name of the server I'll say server.internal.local. The new ICANN rules persuaded me to not include the internal name of the server on the replacement Cert and only use publicly accessible names, I'll say mail.public.org.

Now our Outlook Clients in our internal network are throwing an error at startup saying:

There is a problem with the proxy server's security certificate. The name on the security certificate is invalid or does not match the name of the target site server.internal.local.

Outlook is unable to connect to the proxy server. (Error Code 10)

I looked at the settings of the Outlook email Account and sure enough under the Exchange Proxy Settings, the Use this URL... and the Only connect to... are showing server.internal.local. 

I followed the instructions here:  http://www.msexchange.org/articles-tutorials/exchange-server-2013/management-administration/managing-certificates-exchange-server-2013-part1.html

Which led me through creating a split brain DNS zone so the internal clients will find the server using the public name that matches the cert and also (theoretically) modifying the autodiscover so the clients will look for the server at the new address.

Apparently, I'm missing something because even when configuring a new Outlook profile I still get the certificate error and the proxy settings are still being set to the old internal name and I am unable to change them.  

  To further complicate things, this environment has a SBS2011 that Exchange has been mostly migrated to the new Exchange 2013 machine but Exchange has not been decommissioned from it yet. I'll call it OLDSERVER. I did go into Sites and Services and delete the Autodiscover serviceconnection point for OLDSERVER thinking it would simplify the issue. No Bueno.     
  • Edited by kidwon 10 hours 54 minutes ago
April 29th, 2015 4:19pm

Here's an edited get-outlookanywhere from SERVER. As you can see it still has a lot of references to OLDSERVER. 

[PS] C:\Windows\System32>get-outlookanywhere
WARNING: IIS://oldserver.internal.Local/W3SVC/1/ROOT/Rpc was not found. Please make sure you have typed it correctly.


ServerName                      : OLDSERVER
SSLOffloading                   : False
ExternalHostname                : mail.public.org
ClientAuthenticationMethod      : Basic
IISAuthenticationMethods        : {Basic, Ntlm}
MetabasePath                    : IIS://oldserver.internal.Local/W3SVC/1/ROOT/Rpc
Path                            :
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags         : {}
ExtendedProtectionSPNList       : {}
Server                          : OLDSERVER
AdminDisplayName                :
ExchangeVersion                 : 0.1 (8.0.535.0)
Name                            : Rpc (Default Web Site)
DistinguishedName               : CN=Rpc (Default Web Site),CN=HTTP,CN=Protocols,CN=OLDSERVER,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPD
                                  LT),CN=Administrative Groups,CN=INTERNAL,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=INTERNAL,DC=Local
Identity                        : OLDSERVER\Rpc (Default Web Site)
Guid                            : ce59cbe7-dea0-4362-8ca5-7ab996b6ebcf
ObjectCategory                  : internal.local/Configuration/Schema/ms-Exch-Rpc-Http-Virtual-Directory
ObjectClass                     : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory}
WhenChanged                     : 4/25/2014 3:06:59 PM
WhenCreated                     : 5/30/2010 7:18:40 AM
OriginatingServer               : oldserver.internal.Local
IsValid                         : True

ServerName                      : SERVER
SSLOffloading                   : True
ExternalHostname                : mail.public.org
ClientAuthenticationMethod      : Basic
IISAuthenticationMethods        : {Basic, Ntlm}
MetabasePath                    : IIS://server.internal.Local/W3SVC/1/ROOT/Rpc
Path                            :
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags         : {}
ExtendedProtectionSPNList       : {}
Server                          : SERVER
AdminDisplayName                :
ExchangeVersion                 : 0.20 (15.0.0.0)
Name                            : Rpc (Default Web Site)
DistinguishedName               : CN=Rpc (Default Web Site),CN=HTTP,CN=Protocols,CN=SERVER,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDL
                                  T),CN=Administrative Groups,CN=INTERNAL,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=INTERNAL,DC=Local
Identity                        : SERVER\Rpc (Default Web Site)
Guid                            : a55e1f88-058a-45e1-8463-da52398c40e9
ObjectCategory                  : internal.local/Configuration/Schema/ms-Exch-Rpc-Http-Virtual-Directory
ObjectClass                     : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory}
WhenChanged                     : 4/27/2015 12:03:07 PM
WhenCreated                     : 4/23/2014 3:24:21 PM
OriginatingServer               : oldserver.internal.Local
IsValid                         : True

 
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 4:35pm

Run

Get-ClientAccessServer | fl name, autodisoc*

If the AutodiscoverServiceURi is https://server.domain.local/Autodiscover/autodiscover.xml  that needs to be changed to mail.domain.org/.....

April 29th, 2015 4:55pm

Also, check the OAB, EWS, and OWA virtual directories and make sure they're using the mail.domain.org namespace.
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 4:57pm

[PS] C:\Windows\System32>Get-ClientAccessServer |fl name, autodisc*


Name                           : OLDSERVER
AutoDiscoverServiceCN          :
AutoDiscoverServiceClassName   :
AutoDiscoverServiceInternalUri :
AutoDiscoverServiceGuid        :
AutoDiscoverSiteScope          :

Name                           : SERVER
AutoDiscoverServiceCN          : SERVER
AutoDiscoverServiceClassName   : ms-Exchange-AutoDiscover-Service
AutoDiscoverServiceInternalUri : https://autodiscover.public.org/Autodiscover/Autodiscover.xml
AutoDiscoverServiceGuid        : 77378f46-2c66-4aa9-a6a6-3e7a48b19596
AutoDiscoverSiteScope          : {Default-First-Site-Name}

April 29th, 2015 5:46pm

Thanks for the quick reply Hente, this one really has me scratching my head.

I also double checked all of the virtual directories you specified and they all have the same URL for both internal and external.

https://mail.public.org/oab
https://mail.public.org/EWS/Exchange.asmx
https://mail.public.org/owa

Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 6:03pm

Do you have split DNS? For the internal/external names to be the same you need to have split DNS in your environment. If so check that the name mail.public.org points to the correct IP internally and not alias.  
April 29th, 2015 7:33pm

Yep, split DNS is configured and resolving internal ips correctly.
Free Windows Admin Tool Kit Click here and download it now
April 29th, 2015 7:57pm

Here's a little more information. This is what the results are when I "Test email Autoconfiguration" With Outlook on a workstation. I don't have any experience with this particular test but it seems strange to me that there are 3 sections returned for "Protocol: Exchange HTTP"

Autoconfiguration has started, this may take up to a minute
Autoconfiguration found the following settings:

Display Name: Karen Johnson

Protocol:Exchange RPC
Server: 183e772d-4084-44dc-bcc2-629591f688ed@public.org
Login Name: xrecp
Availability Service URL: https://mail.public.org/EWS/Exchange.asmx
OOF URL: https://mail.public.org/EWS/Exchange.asmx
OAB URL: https://mail.public.org/oab/b5a22e6e-afdd-4dc8-bbba-be6f8c8b004a/
Unified Message Service URL: https://mail.public.org/EWS/UM2007Legacy.asmx
Auth Package: Unspecified

Protocol: Exchange HTTP
Server: mail.public.org
Login Name: xrecp
SSL: Yes
Mutual Authentication: Yes
Availability Service URL: https://mail.public.org/EWS/Exchange.asmx
OOF URL: https://mail.public.org/EWS/Exchange.asmx
OAB URL: https://mail.public.org/oab/b5a22e6e-afdd-4dc8-bbba-be6f8c8b004a/
Unified Message Service URL: https://mail.public.org/EWS/UM2007Legacy.asmx
Auth Package: Basic
Certificate Principal Name: msstd:mail.public.org

Protocol: Exchange HTTP
Server: server.internal.local
Login Name: xrecp
SSL: Yes
Mutual Authentication: Yes
Availability Service URL: https://mail.public.org/EWS/Exchange.asmx
OOF URL: https://mail.public.org/EWS/Exchange.asmx
OAB URL: https://mail.public.org/oab/b5a22e6e-afdd-4dc8-bbba-be6f8c8b004a/
Unified Message Service URL: https://mail.public.org/EWS/UM2007Legacy.asmx
Auth Package: NTLM
Certificate Principal Name: msstd:server.internal.local

Protocol: Exchange HTTP
Server: mail.public.org
Login Name: xrecp
SSL: Yes
Mutual Authentication: Yes
Availability Service URL: https://mail.public.org/EWS/Exchange.asmx
OOF URL: https://mail.public.org/EWS/Exchange.asmx
OAB URL: https://mail.public.org/oab/b5a22e6e-afdd-4dc8-bbba-be6f8c8b004a/
Unified Message Service URL: https://mail.public.org/EWS/UM2007Legacy.asmx
Auth Package: Basic
Certificate Principal Name: msstd:mail.public.org

April 29th, 2015 9:53pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics