When using a wildcard certificate for Exchange 2010 and Exchange 2013 you might run into an error in outlook using autodiscover that states ” the name of security certificate invalid”. To address this issue you must change the URLs by running the Exchange Shell as administrator and typing in the following.

Then run IISreset and test again.