Connecting my Iphone to my Exchange Server

Alright, I have spent a few days on this issue and I am not seeing any progress. I have read countless articles and haven't found the answer yet.

I am running SBS 2003 with exchange patched to service pack 2.
I am using the iphone 3G to try to connect to the exchange server.
I can access mail.mydomain.com/exchange to get my email through owa. (outside my network)
When I try to access https://internaldomain/oma from inside my network I get a login prompt, but when I put domain\user and password it gives me "A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator." error.
I purchased a certificate from Godaddy, and followed their instructions to install both certs they sent me, then email myself the cert on my iphone and installed it there.
I have tried every possible combination of server/username on the phone, but I always get "CANNOT GET MAIL" "The Connection to the server failed." although sometimes it also pops up with incorrect username/password at the same time.
When I look at my OWA Logs i can see my attempts at connecting, but the logs do not give me any other information useful (Im not 100% on ciphering these logs) but it shows "/Microsoft-Server/ActiveSync - 443 - 000.000.000.000 Apple-iPhone/701.341 403 6 0 1744 302"
I have every port anyone has ever mentioned open on my firewall. I do not currently have the list but 443 is one of them, and if you ask me to test a few more, I will tell you the results.
IMAP4 is started with all the sll encryption settings on.
If you need any further information let me know, I cant think of anything else to tell you to fill you in more on my situation.

I went to IIS under SERVER>WEB SITES>DEFAULT WEBSITE>MICROSOFT-SERVER-ACTIVESYNC>PROPERTIES and under the Microsoft-Server-Activesync Properties I went to the Directory Security Tab and went to EDIT under IP address and domainb name restrictions and the IP Address and Domain Name Restrictions have denied access except for the servers internal ip address and the localhost ip address (127.0.0.1). Could this be where I am getting hung up? I dont like to change these types of things without someone who knows a little more about security.

Alright, changed the access required on both the OMA and Microsoft-Server-Activesync folders and the exchange server remote connectivity analyzer came back with no errors...now my imap account on my iphone is unable to connect to mail.myserver.com which isnt a big deal if i get exchange working, im still getting the connection to the server failed on the iphone, using mail.mydomain.com and domain\user and password with domain.com as the domain...

Im also still unable to get to https://server/oma...i get the username/password box, put in domain\user and password but still get " A System error has occurred while processing your request. Please try again. If the problem persists, contact your administrator."

Getting a runtime error when trying to get in the OMA direcotry via a web broswer is normal.
I think your problem sounds like the type of authentication set on the virtual directories. Can you go have a look on the Directory security tab for the two virtual directories

OMA

Microsoft Active Sync

And confirm what type of auths are ticked...?
You should only need port 443 or 80 oprn on the FW to exchange (80 for no SSL traffic or 443 for SSL).
Oh and can you confirm whether or not you are using Forms Based Authentication? I don'think so after reading your previous comments but just one to be sure

Featured Post

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Let me explain this picture a little bit. First, in case you haven't already guessed, you are looking at my 2 phones, an Android Samsung Galaxy S5 on the left and an iPhone 5 on the right. They are on their respective cradles on my desk. But, you…

There is a security feature on iOS devices that is nearly impenetrable when it has been activated. This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.