Server Ceritifacte error on exchange 2007 after installing a new certificate

I have recently installed a purchased external certificate to ebcrypt pushmail to handheld devices.  The good news is that part of the confiuration is working.  But now when i start oiutlook 2007 i get a server certificate error i click yes to allow the use of the certificate it has found, then outlook starts ok.  i think this is because i have only asociated the external certificate to the iis site??

also when try to access the out of office assistant i get the out of office assistant cannot be displayed, the server is unavailable.  i think this may be associated with the certificate also.

Thanks in advance for any assistance.
ianrustyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NpatangCommented:
Its because you got the new cert.
You need to mke sure that SCP value value should match with teh certficate URL and should be resolcable via internal DNS.
Check the article http://support.microsoft.com/kb/940726
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
This is due to your new cert having a different FQDN from your virtual directories:

Run these cmdlets for the fix:

Set-ClientAccessServer -Identity EXCHANGESERVERNAME -AutoDiscoverServiceInternalUri https://exchange.ourcompany.com/Autodiscover/Autodiscover.xml

Set-WebServicesVirtualDirectory -Identity "EXCHANGESERVERNAME\EWS (Default Web Site)" -InternalURL https://exchange.ourcompany.com/EWS/Exchange.asmx -BasicAuthentication:$true

Set-OABVirtualDirectory -Identity "EXCHANGESERVERNAME\OAB (Default Web Site)" -InternalURL https://exchange.ourcompany.com/OAB

Set-ActiveSyncVirtualDirectory -Identity "EXCHANGESERVERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL https://exchange.ourcompany.com/Microsoft-Server-Activesync 

0
Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
EXCHANGESERVERNAME = as you guess your Exchange 2007 server CAS

And exchange.ourcompany.com = what the public cert is keyed at

more resources:

http://www.shudnow.net/2007/08/10/outlook-2007-certificate-error/
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

NpatangCommented:
Engurekona the same has been mentioned in the above given article
0
Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
He is correct...I didn't look at his answer first.    Sorry about that I have to run this cmdlet about once a week.
0
SaakarSenior Technical ConsultantCommented:
The name of the security certificate is invalid or does not match the name of the site
Is this is the same error that you are getting when Opening Outlook or is this something else??
Please post the Exact error.
0
ianrustyAuthor Commented:
All,

thanks allot for all your assistance, i'll be continueing with this issue later today.  SAAKAR_RAO: yes its when opening outlook, but i also then get an error trying to access out of office assistant, i get it is unavailable.  At the moment unsure wether it is related.  As for server names etc externally we use HTTPS://pushmail.globaltextiles.co.uk for mobile connectivity to exchange, internally the exchange server is on an sbs 2008 server with all roles on the 1 box, with an fqdn of gt2008server.gtdomain.local.  Now in iis to get the externally sources certificate to work i had to go into iis binding and select the purchased certificate etc as in the IIS certificate binding config screen shot attached.  Before i did this although the certficate was installed, it seemed to get ignored and could get access externally using it.  Again thanks to you all for your much apreciated assistance.
Global.bmp
0
NpatangCommented:
Awesome at least it wroked for you..
0
ianrustyAuthor Commented:
Hello, could you please look over the eddited lines below to make sure i have the syntax correct for our setup, again the full fqdn server name is gt2008server.gtdomain.local, and the external link that gets used is https://pushmail.globaltextiles.co.uk 

thanks

Set-ClientAccessServer -Identity gt2008server.gtdomain.local -AutoDiscoverServiceInternalUri https://exchange.gt2008server.gtdomain.local/Autodiscover/Autodiscover.xml <internal server address>

Set-WebServicesVirtualDirectory -Identity "gt2008server.gtdomain.local\EWS (Default Web Site)" -InternalURL https://exchange.gt2008server.gtdomain.local/EWS/Exchange.asmx -BasicAuthentication:$true <again internal address>

Set-OABVirtualDirectory -Identity "gt2008server.gtdomain.local\OAB (Default Web Site)" -InternalURL https://exchange.gt2008server.gtdomain.local/OAB <internal address>

Set-ActiveSyncVirtualDirectory -Identity "EXCHANGESERVERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL https://pushmail.globaltextiles.com/Microsoft-Server-Activesync <external address>
0
Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
Change these:  For -Identity "gt2008server.gtdomain.local\EWS

to -Identity gt2008server\EWS
0
Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
If your certificate enabled on IIS is pushmail.globaltextiles.com then you should use:

Set-ClientAccessServer -Identity gt2008server -AutoDiscoverServiceInternalUri https://pushmail.globaltextiles.com/Autodiscover/Autodiscover.xml

Set-WebServicesVirtualDirectory -Identity "gt2008server\EWS (Default Web Site)" -InternalURL https://pushmail.globaltextiles.com/EWS/Exchange.asmx -BasicAuthentication:$true

Set-OABVirtualDirectory -Identity "gt2008server\OAB (Default Web Site)" -InternalURL https://pushmail.globaltextiles.com/OAB

Set-ActiveSyncVirtualDirectory -Identity "gt2008server\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL https://pushmail.globaltextiles.com/Microsoft-Server-Activesync 

0
NpatangCommented:
your certficate is issued to pushmail.globaltextiles.co.uk/  so this url needs to published and also mkake sure that you be able to resolve this url internally

Set-ClientAccessServer -Identity gt2008server.gtdomain.local -AutoDiscoverServiceInternalUri https://pushmail.globaltextiles.co.uk/Autodiscover/Autodiscover.xml <internal server address>

Set-WebServicesVirtualDirectory -Identity "gt2008server.gtdomain.local\EWS (Default Web Site)" -InternalURL https://pushmail.globaltextiles.co.uk/EWS/Exchange.asmx -BasicAuthentication:$true <again internal address>

Set-OABVirtualDirectory -Identity "gt2008server.gtdomain.local\OAB (Default Web Site)" -InternalURL https://pushmail.globaltextiles.co.uk/OAB <internal address>

Set-ActiveSyncVirtualDirectory -Identity "EXCHANGESERVERNAME\Microsoft-Server-ActiveSync (Default Web Site)" -ExternalURL https://pushmail.globaltextiles.com/Microsoft-Server-Activesync <external address>
0
ianrustyAuthor Commented:
ok thanks for clearing that for me.  iguess ill need to make some dns changes also then
0
NpatangCommented:
yes you have to . you need to make sure that the external uRL should resolve to internal IP of CAS server
0
ianrustyAuthor Commented:
ok, again many thanks for everybodys input, i have configure another dns zone for the pushmail.globaltextiles.co.uk to resolve to the internal ip address of the sbs server, then added the lines as advised above.  I'll be speaking to the users in the morning, so i'll update then... fingers crossed!!
0
ianrustyAuthor Commented:
Ok that has got rid of the initial certificate error on startup of outlook, thanks to you all!!

When i try to open the out of office assistant i get the error

"Your out of office settings cannot be displayed, because the server is currently unavailable"
I have run the get0autodiscovervirtualdirectory, and found that there is no internal url, i have then ran the set-autodiscover command again and still no internal url (please see screen shot)

any ideas?
global02.jpg
0
Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
Try:

remove-autodiscovervirtualdirectory "Autodiscover (Default Web Site)"

then

New-Autodiscovervirtualdirectory

then

Set-ClientAccessServer -Identity GT2008SERVER -AutoDiscoverServiceInternalUri https://FQDNOFCERTHERE/Autodiscover/Autodiscover.xml
0
ianrustyAuthor Commented:
hi, thanks for the reply, ran throught hose commands, they all got accespted ok with no errors, but still gives me no internalUrl
0
Rick FeeMessaging Engineer - Disaster Recovery EngineerCommented:
Did this resolve your OOF error?
0
ianrustyAuthor Commented:
hello, no it still give server not available for the out of offfice assistant
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.