Question: We host a multi-tenant shared exchange environment and some customers are seeing a certificate warning when they open outlook as their domain name is not included in our SSL certificate as a subject alternative name.
We have a wildcard certificate for this mail server.

[![enter image description here](https://i.stack.imgur.com/Ujxkx.png)](https://i.stack.imgur.com/Ujxkx.png)

Is it possible to surpress this error or to to basically just say 'yes' permanently?

All of the users affected access outlook on a terminal server, so I'm hoping I can throw something in the registry or whatever to get rid of this or just surpress it.

Failing that, If there is a way to make outlook stop looking for autodiscover.companyname.co.uk and instead look for anything.serverdomain.com, that would also work. 

Any help appriciated.

Answer: 
[This](https://support.microsoft.com/en-us/help/3211279/outlook-2016-implementation-of-autodiscover) worked for me.

```
Certificate Error Handling

Key: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover
Value: ShowCertErrors
Default: 0
Data: 1 = Show certificate warnings/errors; 0 = Don't show certificate warnings

```
It can be done - Office365 doesn't have an SSL certificate for every client. 

You need to look at using SRV and/or HTTP records for Autodiscover.

The most common reason for this error is the domain having a wildcard in it - so Autodiscover.example.com resolves somewhere. For the alternative methods of Autodiscover - such as SRV or HTTP then you need to ensure that Autodiscover does not resolve. 

If there is something on <https://example.com/Autodiscover/Autodiscover.xml> then the client needs to tell their web host to turn off Autodiscover support for their domain in the control panel. It can be done - it is just something that the host has to do. 

The behaviour of Autodiscover cannot be changed - it is hard coded on purpose so that the client tries a predictable set of URLs. You can go down the path of local XML files but that is not recommended as it is difficult to deploy and manage and are often forgotten about and therefore make troubleshooting very difficult.