Creazione di un record DNS per l'Autodiscover di Exchange
Jump to navigation
Jump to search
A partire da Outllok 2016, la configurazione di un account Exchange può avvenire solo se si attivano i record di autodiscovery. Diversamente, è possibile solo la configurazione activesync
Impostazione record DNS
- Ipotizziamo che l'url pubblico del server exchange sia
https://exchangeserver.example.com
- Creare un record DNS di tipo SRV come segue:
_autodiscover._tcp IN SRV 0 0 443 exchangeserver.example.com
- In pratica si crea un record DNS
_autodiscover._tcp.example.com
- Che ha come tipo
SRV
- E che ha come valore
0 0 443 exchangeserver.example.com
- Per register.it, impostare il TTL minimo 600 secondi
- Verificarlo da windows con
nslookup -q=srv _autodiscover._tcp.example.com
- Si otterrà
Non-authoritative answer:
_autodiscover._tcp.example.com SRV service location:
priority = 0
weight = 0
port = 443
svr hostname = exchangeserver.example.com
- Verificare che l'url di autodiscovery sia raggiungibile tramite autenticazione con le credenziali di un utente exchange (verrà mostrato un XML con un errore):
https://exchangeserver.example.com/autodiscover/autodiscover.xml
- Attenzione: la catena SSL deve essere funzionante. Se il certificato SSL non è valido, la configurazione automatica di Outlook non andrà a buon fine.
Riferimenti
- Exchange 2007 and 2010 Autodiscovery DNS SRV record for BIND - Raymii.org
- Exchange 2013, 2016 - Autodiscover SRV record | Technical Deep Dive
- www.LenGoldenstein.com » Creating an Outlook 2007SP1 Autodiscover DNS Record with BIND
- Autodiscover - Zimbra :: Tech Center
- Exchange Account Set-up Missing in Outlook 2016
Impostazione parametri url Autodiscover
- Se il client Outlook emette un warning del tipo:
Il nome del certificato di sicurezza non è valido o non corrisponde al nome del sito The name of the security certificate is invalid or does not match the name of the site
- Occorre impostare l'url interno uguale all'url esterno in tutti i parametri dalla Management Console di Exchange
- Verificare i parametri impostati e settarli tramite Management Shell di Exchange:
Get-ClientAccessServer Set-ClientAccessServer -Identity "EXCHANGESERVERNAME" -AutodiscoverServiceInternalUri https://exchangeserver.example.com/autodiscover/autodiscover.xml Get-WebServicesVirtualDirectory Set-WebServicesVirtualDirectory -Identity "EXCHANGESERVERNAME\EWS (Default Web Site)" -InternalUrl https://exchangeserver.example.com/ews/exchange.asmx Get-WebServicesVirtualDirectory Set-WebServicesVirtualDirectory -Identity "EXCHANGESERVERNAME\EWS (Default Web Site)" -ExternalUrl https://exchangeserver.example.com/ews/exchange.asmx Get-OABVirtualDirectory Set-OABVirtualDirectory -Identity "EXCHANGESERVERNAME\oab (Default Web Site)" -InternalUrl https://exchangeserver.example.com/oab
- Riavviare il server o nella gestione di IIS, riavviare il Pool Autodiscover
Riferimenti
- The Outspoken Wookie: Outlook: "The name of the security certificate is invalid or does not match the name of the site"
- PeteNetLive - KB0000036 - Outlook Error "The name of the security certificate is invalid or does not match the name of the site." | PeteNetLive
- The Name on the security certificate is invalid or does not match the name of the site – PART 2 – Exchange Ideas – Daniel Kenyon-Smith
- Outlook 2007 security warning: "The name of the security certificate is invalid or does not match the name of the site"
- exchange 2010 - Outlook: Name on security certificate invalid - Server Fault
- Outlook 2007 security warning: "The name of the security certificate is invalid or does not match the name of the site"
- autodiscoverserviceinternaluri | Elan Shudnow's Blog
- The Name on the security certificate is invalid or does not match the name of the site – PART 2 – Exchange Ideas – Daniel Kenyon-Smith
- "The name on the security certificate is invalid or does not match the name of the site" error in Outlook in a dedicated or ITAR Office 365 environment
- Web Services and Other Client Access Host Name Configuration on Exchange 2010 Server | exchange.sembee.info
- Fixing Internal Vs. External Hostname Certificate Errors in Outlook for Exchange 2010
Problemi con i Bindings
- Se invece il Microsoft Remote Connectivity Analyzer fallisce con ERRORE HTTP 500, eliminare i binding HTTP ed HTTPS di IIS lasciando solo quelli standard: http con host * e https con certificato corretto (no binding su localhost o http senza hostname)