Forum Discussion
"The name on the security certificate is invalid..." After changing to trusted CA and updating VDs
- Lussy150Feb 08, 2023Copper Contributor
Ok so after updating all the virtual directories to the new fqdn mail.domain.com, I found that a reference to the old fqdn domain.local entry still exists in the following places (mostly the MetabasePath). The one's I'm assuming can stay, are in green and the ones I'm assuming need to be updated to the new mail.domain.com manually, are in red:
Get-ClientAccessService:
Fqdn: old.domain.local < manually change this to mail.domain.com?
AutodiscoverServiceInternalUri: https://domain.local/autodiscover/autodiscover.xmlGet-OutlookAnywhere:
InternalHostname: domain.local < manually change this to mail.domain.com?MetabasePath: IIS://domain.local/W3SVC/1/ROOT/Rpc < this can stay?
Get-OwaVirtualDirectory:
MetabasePath: IIS://domain.local/W3SVC/1/ROOT/owa < this can stay?
Get-ActiveSyncVirtualDirectory:
MetabasePath: IIS://domain.local/W3SVC/1/ROOT/Microsoft-Server-ActiveSync < this can stay?
Get-AutodiscoverVirtualDirectory:
MetabasePath: IIS://domain.local/W3SVC/1/ROOT/Autodiscover < this can stay?
Get-EcpVirtualDirectory:
MetabasePath: IIS://domain.local/W3SVC/1/ROOT/Ecp < this can stay?
Get-OabVirtualDirectory:
MetabasePath: IIS://domain.local/W3SVC/1/ROOT/OAB < this can stay?
Get-PowerhShellVirtualDirectory:
MetabasePath: IIS://domain.local/W3SVC/1/ROOT/PowerShell < this can stay?
Get-WebServicesVirtualDirectory:
MetabasePath: IIS://domain.local/W3SVC/1/ROOT/EWS < this can stay?
In addition to the above, all of the receive connectors still have the domain.local configured as the FQDN (HELO or EHLO response).
- Dan_SnapeFeb 09, 2023Bronze Contributor
The metabasepath values can stay as is. The OutlookAnywhere internal hostname can be changed....but this value is not the one that would be causing the issue. It's the URL's (both internal and external) that the clients use to connect to, so they are the values that need to be correct and present on the certificate. Have you got any load balancers in place? Could they be causing the issues?
- Lussy150Feb 25, 2023Copper Contributor
So I have found some traces of the domain.local. It is still set as the FQDN for POP, IMAP and Autodiscover:
I'm not sure if I can just change the POP and IMAP FQDN to mail.domain.com without breaking it. As long as split DNS is working (which it is) this should be fine, correct?
Also, after changing the Autodiscover FQDN from domain.local to the new domain.com, Outlook went into a credential prompt loop. Any ideas why? I ended up changing it back to domain.local, because it is impacting all Outlook clients.
I'm hopeful that one of the above, or all for that matter, are the cause for this.
Thanks!