最近在環境中增長了一臺 Exchange 2016 服務器用於測試,用戶打開outlook時會鏈接到它,因爲證書不包括該機器,會有個證書錯誤的提示。
解決方法:
刪除全部相關目錄api
Remove-MapiVirtualDirectory Remove-EcpVirtualDirectory Remove-AutodiscoverVirtualDirectory Remove-WebServicesVirtualDirectory Remove-OwaVirtualDirectory Remove-OabVirtualDirectory
Remove-MapiVirtualDirectory "mapi (Default Web Site)" Remove-EcpVirtualDirectory -Identity "xxx\ecp (default Web site)" Remove-AutodiscoverVirtualDirectory -Identity "xxx\autodiscover(autodiscover.contoso.com)" Remove-WebServicesVirtualDirectory -Identity "xxx\EWS (Default Web Site)" Remove-OwaVirtualDirectory -Identity "xxx\owa (Default Web Site)" Remove-OabVirtualDirectory -Identity "OAB (Default Web Site)"
參考:
https://docs.microsoft.com/zh-cn/previous-versions/office/exchange-server-2010/ff629372(v=exchg.141)服務器