Problem in connecting to exchange server

I have generated a certificate as specified in the link http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html. It generates an X.509 certificate. I installed this certificate on pop3 server on Microsoft exchange server. I also installed the certificate on client m/c. On client m/c, a Java application is running, which tries to read mails from exchange server using SSL. But this exception occurs when I run my java application:
javax.mail.MessagingException: Connect failed;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:106)
at javax.mail.Service.connect(Service.java:234)
at ci.cryopull.core.PullAction.execute(Unknown Source)
at ci.cryopull.core.PullAgent.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
It seems I am unable to connect to exchange server using this certificate. While I also tried a free trial certificate from thawte, that worked fine. Could u help resolving my problem?
Thanks

Peddard, you will have to be more specific on your settings. It's important to note that the iPhone's host name entry must resolve both internally and externally if it's going to work correctly. So, on your internal DNS server, you must make a mail entry with the same name as what you are publishing externally. In my case, mail.domainname.com is registered on our external DNS server with a public IP address. On the internal DNS server, mail.domainname.com registers to a 192.168.x.x address.
However, you can find in another post that in my situation, the iPhone would not work correctly on our LAN. It worked everywhere else but the issue seems to be that when on the Edge network and the LAN, there is conflicting DNS resolution. This was intermittent and unreliable at best.
Our workaround was to create a second network, simply wirelessly with a couple of Airport Extreme Base stations on a separate external IP address. Now, DNS resolved to the external address and it works like a charm. Not a fix, but a workaround.
JD

Similar Messages

  • Mail & Exchange problem - cannot connect to exchange server

    I am having a problem configuring MS exchange on Mail 5.2. I am not able to connect to exchnage server. The error message is consistent 
    MFEWSErrorDomain error 56
    I can connect to the same server using Mail on iPhone 4 but from what I understand iOS and Lion use different protocols?
    Thanks
    Console log files
    6/24/12 9:52:58.849 AM Mail: *** Assertion failure in -[EWSConnection sendMessage:forRequest:], /SourceCache/Message/Message-1278/MessageStores.subproj/EWSConnection.m:489
    Didn't recieve a response for EWS request <EWSGetFolderRequestOperation: 0x7f8034b86540> (EXECUTING)
              0   Message                             0x00007fff8862eef8 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 116
              1   Message                             0x00007fff8862f08e -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 185
              2   Message                             0x00007fff8855d7cc -[EWSConnection sendMessage:forRequest:] + 1721
              3   Message                             0x00007fff8856ddff -[EWSGateway sendMessage:forRequest:] + 75
              4   Message                             0x00007fff8857e54c -[EWSRequestOperation executeOperation] + 108
              5   Message                             0x00007fff8864f97f -[MonitoredOperation main] + 228
              6   Foundation                          0x00007fff8a5b06b4 -[__NSOperationInternal start] + 705
              7   Foundation                          0x00007fff8a5c3912 ____NSOQSchedule_block_invoke_2 + 124
              8   libdispatch.dylib                   0x00007fff8f4e5a86 _dispatch_call_block_and_release + 18
              9   libdispatch.dylib                   0x00007fff8f4e6965 _dispatch_worker_thread2 + 255
              10  libsystem_c.dylib                   0x00007fff8e0f33da _pthread_wqthread + 316
              11  libsystem_c.dylib                   0x00007fff8e0f4b85 start_wqthread + 13
    6/24/12 9:52:58.851 AM Mail: *** Assertion failure in -[EWSGateway fetchDistinguishedFolderIdsWithConnection:], /SourceCache/Message/Message-1278/MessageStores.subproj/EWSGateway.m:333
    Didn't get a response for all folder ids, expected 10, got 0
              0   Message                             0x00007fff8862eef8 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 116
              1   Message                             0x00007fff8862f08e -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 185
              2   Message                             0x00007fff8856dca2 -[EWSGateway fetchDistinguishedFolderIdsWithConnection:] + 1356
              3   Message                             0x00007fff88559bc7 -[EWSAccount authenticatedConnection] + 1042
              4   Message                             0x00007fff885587c8 -[EWSAccount _synchronizeMailboxListWithUserInput:] + 72
              5   Message                             0x00007fff885591b4 -[EWSAccount synchronizeAllMailboxes] + 78
              6   Message                             0x00007fff884e7430 -[RemoteStoreAccount _synchronizeAccountWithServerWithUserInput:] + 651
              7   CoreFoundation                      0x00007fff908cbefc __invoking___ + 140
              8   CoreFoundation                      0x00007fff908cbd94 -[NSInvocation invoke] + 132
              9   Message                             0x00007fff8847bf68 -[MonitoredInvocation invoke] + 196
              10  Message                             0x00007fff88458a79 -[ThrowingInvocationOperation main] + 33
              11  Message                             0x00007fff88458a1f -[_MFInvocationOperation main] + 449
              12  Foundation                          0x00007fff8a5b06b4 -[__NSOperationInternal start] + 705
              13  Foundation                          0x00007fff8a5c3912 ____NSOQSchedule_block_invoke_2 + 124
              14  libdispatch.dylib                   0x00007fff8f4e5a86 _dispatch_call_block_and_release + 18
              15  libdispatch.dylib                   0x00007fff8f4e6965 _dispatch_worker_thread2 + 255
              16  libsystem_c.dylib                   0x00007fff8e0f33da _pthread_wqthread + 316
              17  libsystem_c.dylib                   0x00007fff8e0f4b85 start_wqthread + 13

    YAY MEEEE!!! After hours of looking for this i Have figured it out.
    Log into the OWA actt. (Web Outlook) and hit the ? mark in the right hand corner > About.
    Grab the data in the about page. Complete your wizard and when you get the auto discovery error message and it requests the server name copy the HOST ADDRESS - not the "Exchange Client Access server name"
    Thank ou KK Pan, Csound1, and this guy here http://eightwone.com/2013/01/26/the-case-of-the-not-updating-outlook-for-mac/ for leading me down a path to discovering this.

  • Outlook connection to exchange server problem

    We have a new domain and an existing exchange server. The problem is if i log in with a local computer account i can autodiscover and connect in cached mode to exchange no problem. If i then login with a domain user account the same computer (tried on other
    workstations) will fail to auto discover, fail to connect to exchange even with manual settings. I cant find anything obvious in Group policy.
    The server is setup with the latest 2013 Group policy templates with office 2013 templates
    Users not logged in with the new AD server can connect to exchange 
    Users not logged into the domain can access exchange server
    My feeling is its a local setting that is missing or needs to be changed in Group Policy but i am at a loss as to what it could be
    I have disabled roaming profiles too and it makes no difference.
    Any help would be greatly appreciated.
    Steve

    Hi,
    Sorry for my delay. According to your description, I summarize your issue to the following points:
    1. No problem when the user logs in Outlook with a local computer account in Cached mode.
    2. Can’t connect to Exchange from an cache mode enabled Outlook 2013 client when using a domain user account on the same computer automatically or manually.
    3. Can connect to Exchange from an online mode enabled Outlook 2013 client when using a domain user account on the same computer automatically or manually.
    It is right? If I misunderstand, please feel free to point it out. Additionally, I noticed that the server is setup with the latest 2013 Group policy templates with office 2013 templates. Please confirm
    if the Outlook cache mode is disabled by OTC or GPO. If there is following registry key applied on the machine:
    Software\Microsoft\Office\15.0\Outlook\Cached Mode
    Meanwhile, please try to install an Outlook 2013 with a fresh ISO file(Don’t use any template such as OCT template), see if the Cached mode Outlook can connect to Exchange server.
    Waiting for your updates.
    Regards,
    Winnie Liang
    TechNet Community Support

  • SAP PI Connection Microsoft Exchange Server (Scenario Mail -- SAP PI -- File)

    Hi experts,
    we want to connect Microsoft Exchange Server to SAP PI. POP3 and IMAP4 is not allowed on mail server side.
    But the standard mail adapter in SAP PI  (configured as sender communication channel) only works with POP3 and IMAP4.
    Can anyone help me to solve this problem
    Thank you for your help.
    Mario

    Hi Priyadshini,
    The way that you have developed your java program can be different that the way that SAP did it. With pop3 in PI, as far as i know, it is no possible to change the read/delete properties that the mail server has by default, as Amit and Ilya mentioned you should try with the imap solution or to talk to the mail server administrators.
    Are you sure that the messages is being deleted?, have you checked other mail folders in the user account?, may be the message is being moved.
    Regards.

  • Outlook Mac Loses Connection to Exchange Server

    Hi All,
    I've had this problem pretty since deployment a couple of weeks ago, so I'm hoping some one can point me in the right direction.  I'm running Exchange 2013 on a Server 2012 Standard box with the DC running on a different box, every thing up to date.
    Mac clients running Outlook 2011 (14.4.2).
    Periodically throughout the day, Outlook loses connection to Exchange server.  After several minutes, it will connect back up, and seems to operate normally.  During the down time, I am able to connect to OWA, and ActiveSync seems to work as well.
    If I run the Remote Connectivity Analyzer while Outlook is responding, I get no errors and the "Connectivity Test Successful" message.  However, if I run it while Outlook is NOT responding, I get the following:
    Exchange Web Services synchronization, notification, availability, and Automatic Replies.
    Not all tests of Exchange Web Services tasks completed.
    Creating a temporary folder to perform synchronization tests.
    Failed to create temporary folder for performing tests.
    Exception details:
    Message: The request failed. The operation has timed out
    Type: Microsoft.Exchange.WebServices.Data.ServiceRequestException
    Stack trace:
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
    at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
    at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder[TFolder](FolderId folderId, PropertySet propertySet)
    at Microsoft.Exchange.Tools.ExRca.Tests.GetOrCreateSyncFolderTest.PerformTestReally()
    Exception details:
    Message: The operation has timed out
    Type: System.Net.WebException
    Stack trace:
    at System.Net.HttpWebRequest.GetResponse()
    at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
    Elapsed Time: 100141 ms.
    Nothing I've attempted to do so far as had any meaningful impact, and I am fairly new to Exchange.
    Following the adice I've seen online so far, I've:
    I've made sure the auto discover in DNS points to the Exchange server.
    I've disable auto-discover on the client, manually adding accounts, tried using their FQDN, local IP, LAN IP.
    I've made exceptions to the proxie on the client.
    Just not sure where to look next?  Appreciate any advice out there.
    Thanks,
    Michael

    Hi,
    Before we go further, I'd like to confirm if your Outlook clients can work well when your Outlook MAC clients come across the issue.
    If the issue only happens on your Outlook MAC clients, we can check the IIS log and confirm if there is any error releted to EWS. And you can recreate your EWS virtual directory to have a test.
    Thanks, 
    Angela Shi
    TechNet Community Support

  • Hello.....after updating to Yosemite, i can't get my exchange mail to work.  It keeps saying can't connect to exchange server and asks for my password.  My mail is still working fine on android phone and ipad2.  Can someone help?

    Hello....after updating to Yosemite my mail isn't working .  Keeps saying can't connect to exchange server and asking for password

    I am having this exact same problem with my gmail account. Hopefully someone will have a remedy.

  • Can't connect to exchange server after 1/4/2011 am update - anyone else?

    Woke up this am and phone is unable to connect to exchange server for email. Last email received was @4:35am. I've reentered my password to confirm and exchange is working fine on Desktop. Any suggestions?

    I'm pretty sure that the combination is right. On my macs everything works fine. Is there another reason why the exchange server could reject the iPhone? Similar to the 3.1 problems with the hardware encryption?

  • Connect my Exchange server via Wifi and EA6500

    Hello, I have a problem. Since I have installed my new router, a Linksys EA6500, I have many problems to connect to my Exchange Server, which is located in my house, via Wifi. I tried to synchronize my Iphone and my Samsung tablet but it won't work. Most of the times I get the message that the Exchange server cannot be connected. When I turn off my Wifi en connect via my mobile provider I have no problems. When I am on a third party wifi I also can connect my server. Seems my own wifi causes lots of problems. My old router, a Dlink dir655, never had this problems. Can anyone help me?

    Make sure that you have replicated the settings of your old router to the settings of the new router and then try also to isolate this problem by using a laptop computer and check if it will work. The purpose of using a laptop is order for you to isolate if the problem is with the router’s firmware. Check if opening port 443 on your router will be able to fix this issue. You can also check the links below for further information about this concern.
    http://community.spiceworks.com/topic/205984-unable-to-connect-to-exchange-server-from-mobile-device...
    https://discussions.apple.com/thread/3413395?start=15&tstart=0

  • Battery loss after connecting microsoft exchange server

    I am using iphone 3gs. Suddenly I have started loosing my battery after the latest update on itunes. I loose the battery once I connect microsoft exchange server. If I delete the account then the battery stays normal.
    Please Help if anyone have any information on this issue.

    I dont think its a problem with your exchange account as it worked normally before I would try restoring your phone to see if it fixes if not and you are still under warranty take it into a apple store and have a genius look at it

  • Why can't I connect to Exchange Server 2003? I'm using OS Lion. My iphone connects, what am I doing wrong?

    Why can't I connect to Exchange Server 2003? I'm using OS Lion. My iphone connects, what am I doing wrong?

    the iPhone uses active sync. Desktop clients do not. Desktop clients use another exchange protocol (which i can't remember as i'm not a microsofty).
    Just because you can access via active sync doesn't mean you can access it by other methods, and vice versa.

  • How do I get connected to a server on my network via an IP address?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    I am new to Mac...How do I get connected to a server on my network via a hyper link IP address path?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    Some of the following is going to use some technical terms — this area is inherently somewhat technical. 
    If you don't understand some part of the following reply, please ask.
    Is this your own OS X Server system on your own network, or is this some other server within some larger organization? 
    You're posting this in the OS X Server forum, which is a software package that allows OS X systems to provide web-based and many other services; to become servers.
    If it's your OS X Server on your network, then the network and DNS configurations are suspect, or the server is somehow malfunctioning or misconfigured.   This is unfortunately fairly common, as some folks do try to avoid setting up DNS services.
    If it's a larger organization and somebody else is managing the server and the network, then you'll probably need to contact the IT folks for assistance; to learn the network setup and DNS requirements, and if there's a problem with the server itself.
    The basic web URL "hyper link IP address path" — without using DNS — usually looks something the following, where you'll need to replace 10.20.30.40 with the IP address of your server:
    http://10.20.30.40
    UptimeJeff has posted a URL that specifies the AFP file system; an OS X file share.  That's used if you're connecting to an Apple storage service somewhere on your network.  You might alternatively need to specify smb://10.20.30.40 or such, if it's a Windows file server.  (There can be additional requirements for connecting to Windows Server systems, too.)
    If there's local IT staff available here, please contact them for assistance.  If these are your own local systems and your own local OS X Server system, then some information on the server will be needed.  (If you're on a NAT'd network, you'll also need to get DNS services configured and working on your local OS X Server system and your network — you'll not be able to skip this step and reference ISP DNS servers here — or things can and usually will get weird.)

  • Problem in Connecting with the server

    I have a problem while sitting the e-mail. A message comes saying that the device had a problem in connecting with the server. My BB is Tourch 9860
    Please help me

    Hi gaf4u
    Welcome to BlackBerry Support Forums
    Do you already have any email account integrated with your device ?
    If not then do you have a specific BlackBerry data plan / BIS from your Carier on your account ?
    let us know.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Writing client app to connect to Exchange Server 2013 and set OOF for users on vacation

    I am coding an C# app that should connect to Exchange Server 2013 on-premise (Servers Location is not in our Company). I`ve got an account (User and Pass) with readonly admin-rights for now and want to read and set OutOfOffice Objects for other users. I
    decide to use EWS Managed API over Autodiscovery but I am bit confuse how
    I tried to connect with "service.UseDefaultCredentials = true" and read contacts -> this code works:
    try
                ExchangeService _service
    = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
                _service.Credentials
    = new WebCredentials("service.exchange",
    "1234", "domain");
                _service.TraceEnabled
    = true;
                _service.TraceFlags
    = TraceFlags.All; _service.UseDefaultCredentials
    = true;
                _service.AutodiscoverUrl("[email protected]",
    RedirectionUrlValidationCallback);
                foreach
    (Contact contact in _service.FindItems(WellKnownFolderName.Contacts,
    new ItemView(2)))
    var test = contact;
            catch
    (Exception exception)
                Console.WriteLine(exception);
    After that I tried the same with _service.UseDefaultCredentials = false; got error -> "The Autodiscover service couldn't be located." I am not shure if this "direct log on" is the right way, On msdn I've read about "delegate access"
    and "Impersonation" (NTLM and Basic Authentication) I'am a bit confused. Can anybody help me?

    hi,
    when you set a credential, you don't have to set the UseDefaultCredentials property (it is already updated).
    For autodiscover, you should try to set the property EnableScpLookup to True if you are in the Exchange domain or it is known by the current domain.
    Autodiscover uses a domain query (through Active Directory) and/or a dns query (this requires a DNS register for autodiscover.domain.net) to determine the access to the autodiscover service URI.
    Regards,
    Désiré GOVIN Refresh IT Solutions

  • Outlook 2013 not connect with Exchange server 2013 in internal network

    Hello All,
    I Have two Exchange server 2013 in our environment. Both server install mailbox and CAS role. After configure exchange server 2013, Outlook 2013 not connect in internal network. I have configure outlook manually. i tried by using the suggestion from blog
    but not work. Outlook show that Server cannot connect/ server name could not be resolved. in outlook setting i also put exchange proxy setting. In exchange admin center i have changed the OWA, OAB, Auto discover name. But still not work.
    I know that outlook can be connect from external by using ssl certificate and publish outlook anywhere but i did my configure from internal network. 
    Can you please suggest as soon as possible.
    Thanks,
    Parvez

    Hi,
    Firstly, I’d like to explain, same with external users, internal users use Outlook Anywhere to connect with Exchange server and use Autodiscover get all settings.
    Thus, let’s try the following resolutions:
    1. run the following command: get-clientaccessservice |fl autodiscoverserviceinternaluri
    2. check if the host name in the above URL is in the DNS server and there is a DNS entry about the host name points to the proper IP address.
    3. Check if the above host name is in your certificate.
    Thanks,
    Angela
    Angela Shi
    TechNet Community Support

  • If anybody have a problem with connection to smtp server from iPhone

    If anybody have a problem with connection to smtp server just add new server
    Seetings → Mail, Contacts, Calendars → User Me account → Account → Under Advanced choose Mail → SMTP → Add Server
    smtp.me.com
    user name ([email protected])
    password
    Apple, i am in love with your product, please fix this so we could injoy it even more.

    Might be something to help you here >  iCloud: Mail server information

Maybe you are looking for

  • Windows 8.1 - Installing on Second PC

    Can I "transfer" the licence from one machine to another ?  In case, something bad happens to my desktop and I buy a new one then - Can I activate the same product key on the new one ? I don't mind to call Microsoft and tell them to discontinue the o

  • Double byte file name in KM NW04

    Prior to NetWeaver 04 using the HTML editor, we could name a file in a double byte language (Simplified/Traditional Chinese) by entering the English name in the "ID" field and then entering the double byte name in the "Name" field using "File/Details

  • Disk read error when installing new OS on S10-2

    Hello all. I`ve looked thru this forum and knowledge base, but couldn`t find an answer so I`m appealing to the Lenovo community. I recently purchased a S10-2 netbook in Mexico. Unfortunetely it`s in Spanish and I need English.(I`m writing a computer

  • Question on "matched" memory when 3gig is the max

    Hello, I have a 2.16ghz MBP with a 3 gig limitation. Currently, I have 2 gigs of RAM (1 gig in each slot), so my understanding is that I am benefiting from matching memory sticks. RAM prices have dropped like crazy and Adobe CS3 really loves it some

  • HT201274 my device have now 8 hours  after i did Erase All Content and Settings doing erasing , is this normal

    my device have now 8 hours  after i did Erase All Content and Settings doing erasing , is this normal