?
Solved

Problem with outlook anywhere.

Posted on 2010-11-10
21
Medium Priority
?
518 Views
Last Modified: 2012-05-10
I have a problem with outlook anywhere:
when I use this setting from MS Oulook:
        Tick: Connect using SSL only
                Tick: Only connect to proxy servers that ........

---> I can't connect to the exchange server using outlook anywhere

But when I use this setting:
      Untick: Connect using SSL only
                Untick: Only connect to proxy servers that ........
I can connect to the Exchange Server as welll.


The problem: when I stay at my company, MS Oulook synchronize automatically setting with the Exchange Server, so when I set Untick, it changes to Tick automatically, so when I bring my computer to outside, I have to untick them again.
How can I solve this problem?

 

0
Comment
Question by:JameMeck
  • 11
  • 9
21 Comments
 
LVL 49

Expert Comment

by:Akhater
ID: 34100668
you should fix the core of the problem

are you using a wildcart * certificate ?

0
 

Author Comment

by:JameMeck
ID: 34100742
I have Certificate with my Exchange server, I am using Netscreen Firewall.
Can you explain to me more detail?

Thanks!
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34100751
the problem is because the URL you are using to access outlook anywhere is not the same as the CN of your certificate


what is the CN of your certificate ? and what is the url u use to access your RPC/HTTP
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 

Author Comment

by:JameMeck
ID: 34100809
The CN = SRV03, the address when I public outlook anywhere is: mail.mydomain.com.

Thanks!
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34100826
ok so that's the issue...

is it an internal certificate or you bought it ?

can you just issue a new one or rekey it is cn=mail.mydomain.com ?
0
 

Author Comment

by:JameMeck
ID: 34100866
Can I do a more simple action: change outlook anywhere to srv03.mydomain.com + and from domain control panel of ISP, I will point srv03.mydomain.com to my Exchange server?
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34100880
your CN=srv03 and not CN=srv03.mydomain.com

right ?

if so then it won't work


if you can't rekey the certificate (Which is the proper thing to do) try


Set-OutlookProvider -Identity EXPR -CertPrincipalName msstd:srv03


0
 

Author Comment

by:JameMeck
ID: 34100930
I ran your command, but there is nothing happened, when I open MS outlook, a message appear, please take a look the picture below.

Thanks!
Untitled.png
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34100943
then the CN of your certificate is not srv03

is there anyway you can give me the URL of webmail.domain.com to see the certificate?




to undo

Set-OutlookProvider -Identity EXPR -CertPrincipalName $null

0
 

Author Comment

by:JameMeck
ID: 34100981
I got CN by this command: Get-ExchangeCertificate -domain "SRV03.mydomain.com" | fl, and sure the CN is SRV03
, and the address when I public the outlook anywhere is: mail.mydomain.com

I don't think I have mistake here.
Does it spend time for your command? I mean, do I have to wait some minutes?

Thank you very mch!
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34100991
Please run this will disable the msstd

Set-OutlookProvider EXPR -Server $null -CertPrincipalName none
0
 

Author Comment

by:JameMeck
ID: 34100994
Please take a look this:



[PS] C:\Documents and Settings\Administrator.Local>Get-ExchangeCertificate -d
main "SRV03.mydomain.com" | fl


AccessRules        : {System.Security.AccessControl.CryptoKeyAccessRule, System
                     .Security.AccessControl.CryptoKeyAccessRule, System.Securi
                     ty.AccessControl.CryptoKeyAccessRule, System.Security.Acce
                     ssControl.CryptoKeyAccessRule}
CertificateDomains : {SRV03, SRV03.mydomain.com}
HasPrivateKey      : True
IsSelfSigned       : True
Issuer             : CN=SRV03
NotAfter           : 9/17/2015 12:41:58 PM
NotBefore          : 9/17/2010 12:41:58 PM
PublicKeySize      : 2048
RootCAType         : GroupPolicy
SerialNumber       : F25E63CCD4F1C6934856BBCAD1DBA700
Services           : IMAP, POP, IIS, SMTP
Status             : Valid
Subject            : CN=SRV03
Thumbprint         : 5E0A83733FC1350DE4210A41FC1B71F38BE12733

AccessRules        : {System.Security.AccessControl.CryptoKeyAccessRule, System
                     .Security.AccessControl.CryptoKeyAccessRule, System.Securi
                     ty.AccessControl.CryptoKeyAccessRule, System.Security.Acce
                     ssControl.CryptoKeyAccessRule}
CertificateDomains : {SRV03, SRV03.mydomain.com}
HasPrivateKey      : True
IsSelfSigned       : True
Issuer             : CN=SRV03
NotAfter           : 9/17/2015 12:41:23 PM
NotBefore          : 9/17/2010 12:41:23 PM
PublicKeySize      : 2048
RootCAType         : None
SerialNumber       : 337B1A5943C1C0AB4AA57EE4F26D8CFD
Services           : IMAP, POP, SMTP
Status             : Valid
Subject            : CN=SRV03
Thumbprint         : F9DA37AC684C479F590358B7FC26635478A69944
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34101014
yes the CN is srv03 however you have no where mail.mydomain.com.... how was it working to start with without the certificate warnign
0
 

Author Comment

by:JameMeck
ID: 34101021
Thank you very much Akhater!

How can I disable "Connect using SSL only"?

0
 
LVL 49

Expert Comment

by:Akhater
ID: 34101022
Please run this will disable the msstd

Set-OutlookProvider EXPR -Server $null -CertPrincipalName none
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34101027
why would you want to do this ?

I don't think it is possible
0
 

Author Comment

by:JameMeck
ID: 34101090
I don't know why.
But if the "Connect using SSL only" and "msstd" are checked, I can't connect to the server.
When they are unchecked, I can connect to the server using outlook any where.
I have done your command, the msstd has been changed to "none", but the checkbox is checked.
0
 
LVL 49

Accepted Solution

by:
Akhater earned 2000 total points
ID: 34101134
i don't want to be rude but you are trying to find a quick-fix to the problem.
the correct way is to fix your URLs and your certificates so that it all matches.


1. can you add in your external DNS srv03.mydomain.com to poin to the ip of mail.mydomin.com ?

if so do it and try again with srv03.mydomain.com in the settings with the Connect using SSL only checked and see if it works


0
 

Author Comment

by:JameMeck
ID: 34101156
OK OK,
I will try and post result as soon as possible.
Thank you very much for your help!
0
 
LVL 49

Expert Comment

by:Akhater
ID: 34101187
if it doesn't work just update this question.

if you decide to open another question on this matter do update this thread with a link so i can follow up

0
 
LVL 3

Expert Comment

by:thetime
ID: 34101189
You seem to be misunderstanding Akhater and in general how Outlook anywhere works.

In order for the outlook anywhere to work you have to have the correct names listed on your certificate.
From my experience you cannot use Outlook Anywhere without a SSL connection. the sertificate you need is a SAN which should have the following set of names on it:

domain.com
autodiscover.domain.com
server.localdomain.local
servername

(Can someone just double check these names for me please)

Then the tick box you have to disable each time is not a problem anymore.
Fix the problem, don't create a new one by adding a quick fix to a existing problem.

SAN certs can be bought through godaddy.com.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses
Course of the Month16 days, 1 hour left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question