Avatar of Eprs_Admin
Eprs_Admin
Flag for Austria asked on

Outlook certificate problems

Hi Experts,

since tonight I have problems in outlook 2010 with a certificate.
can you help me to repair this cert issue ?
The server in the backend is an EXCH2007 cluster.

The error message is in german and not in english, sorry for that.
I try to translate is....

Error: the name of the certificate is not valid or the name is different from the website.

Can you help me out to solve this issue ?
ExchangeOutlookSSL / HTTPS

Avatar of undefined
Last Comment
Eprs_Admin

8/22/2022 - Mon
M A

Eprs_Admin

ASKER
I tried to change the service with this cmd

Enable-ExchangeCertificate -Services IMAP, IIS, SMTP -thumbprint

But the services are not changed.
The command seems to be ok, no error message.
But when I check again get-exchangecertificate |fl nothing changed.

On my service I have enabled SMTP and IIS but how to delete one entry ?
Eprs_Admin

ASKER
I checked your article.
Each output is ok.

I want to change some services on the certificate.
The command is ok but no service changed.
Do you know why ?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Eprs_Admin

ASKER
here is a screenshot....cert-error-mail.hbg.JPG
M A

The above screenshot is a clear case of certificate name/URL mismatch. If you follow my article your error will get cleared
If yes please check below
Type "Get-ExchangeCertificate" and check the thumbprint
Type this command to enable services on the correct certificate

Enable-ExchangeCertificate -Thumbprint 49D53353A1FBDE31C34604A8EF52FC9BABA187C8 -Services IIS,SMTP,IMAP

Open in new window

Eprs_Admin

ASKER
Yes I followed your article.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Eprs_Admin

ASKER
OWA is working
Eprs_Admin

ASKER
on my certificate are 2 services enabled

Services           : IMAP, POP, SMTP

But still getting the pop up when opening Outlook.
M A

You should enable IIS on the 3rd party certificate using the above command which explained in my article
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Eprs_Admin

ASKER
OK, I have enabled IIS on the certificate.
Nothing changed.

Strange is , when I enable IIS on one cert, on the other it is removed.
Can you explain this behavoir ?
Eprs_Admin

ASKER
When I add IIS on the first cert, then on the second cert IIS is removed and owa stopped working, why ?
Eprs_Admin

ASKER
I have two HUB servers, do I have to do this on both ?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Eprs_Admin

ASKER
please help me out with this cert djungle...maybe we can check this from the beginning, step by step.
M A

-->I have two HUB servers, do I have to do this on both ?
yes you have to do this on both
Eprs_Admin

ASKER
Ok,

I have two certs:

mail.domain.local -> this email has the bindings SMTP,POP
mobile.domain.at -> this email has the bindings SMTP,IMAP,IIS

With this setting I have the error which you can see in the picture.
When I add IIS to mail.domain.local then OWA stopped working, because IIS is moved to the other cert mobile.domain.at

Is it possible to delete one of the SMTP bindings on these certs ?
I tried the command enable-exchangecertificate....... but nothing changed.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Eprs_Admin

ASKER
And I found out, in my certificates, no autodiscover SAN is inside.
Do I need this link inside my certs ?
If yes how to change this or add more SANs ?
ASKER CERTIFIED SOLUTION
M A

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Eprs_Admin

ASKER
Great Job man.