Exchange 2010 Certificate mismatch error

We have a single exchange 2010 server running all roles, we have just renewed our ssl from godaddy, and now clients get a certificate error with name is incorrect.

I have tried running the commands in the shell but one of them keeps giving me this error -

A positional parameter cannot be found that accepts argument '-AutodiscoverServiceInternalUrl'.
    + CategoryInfo          : InvalidArgument: (:) [Set-ClientAccessServer], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Set-ClientAccessServer

The name of the cert hasnt changed but we had to remove the internal names from the cert as they are no longer allowed which is what i assume is causing the issue.

Who is Participating?
Simon Butler (Sembee)ConsultantCommented:

This is a common mistake.

It is NOT URL. It is URI letter "I" (eye) at the end.

Use the script I have here:

If you are copying and pasting the command it might be as simple as character encoding passing in some different value.  

Can you share the exact command you're running and try typing it in completely instead of pasting it into the shell.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.