Windows 2003 SBS, Exchange 2003, iPhone & Windows Mobile

This is another one of those “I GOT TO WRITE THIS DOWN SOMEWHERE BEFORE I FORGET!!!!” sorta things.

Bit of background here:
I’m prety knowledgable when it comes to most computer stuff, but Server OS….just kill me. So, when my uncle comes in with the new iPhone, guess what? It didn’t talk to our Exchange server like the ones in the past have.

There are many…guides, steps I ran into on the web, but most people like me can access their Exchange Web Site fine, but the silly phone won’t. This is mainly because it uses “ActiveSync”, and just doesn’t access the web page traditionally.

Before we get to my silly excuse for a guide, I’m letting the world know what I currently have.
Website: http://www.myurl.com
Exchange: https://ubersecret.myurl.com/exchange (note this is the machine I’m working on. The one above handled our website. As long as you work on the one with the exchange, that’s all that matters)

Note, I, like most others, use SSL for exchange, but something on my end was real…goofy

Setup:
I performed the setup to recreate the exchange-oma folder. I followed this guide: http://www.riverbank.co.uk/home/support/knowledge-base/r1403 and deleted the exchange-oma as I needed to. Now, as my default certificate expired, I had to remake our certificate using SelfSSL ( http://michaelellerbeck.com/2008/07/17/really-quick-exchange-server-2003-self-signed-certificate-and-how-to-deploy-to-windows-device-recipe/ ). If you’ve…paid for one, then you can use that without any problems I believe. But since I ran into a certificate related issue toward the end of my…journey, this was the final command: selfssl /T /N:CN=ubersecret.myurl.com,CN=myurl.com /V:9999 This immediately replaced the certificate on my ubersecret.myurl server. Naturally, I should’ve just used myurl.com, but thats a future project, when my ubersecret server hosts the actual website.

Mobile Devices:
I restarted the server one last time after that to make sure everything was kosher. Now, the phones. With all the above, I’m going to use SSL for the setup. Now,
the best way to get the certificate file for our phones, is the following
*) Download Windows Mobile SSLChainSaver
*) Navigate to the SSLChainSaver directory using command prompt. Type (I believe) sslchainsaver theurlofyoursite.com This will download the certificate file into that current directory. If you’re on Vista, you’ll need a admin command prompt. Browse for your certificate using explorer. (usually c:\program files\SSLChainerSaver\url\root.cer)

You got the certificate, now to use it.

For iPhone:
Easy way to install it: Rename the extension of that certificate to .crt, and throw it on a webserver. Open Safari, browse for the file. Safari will want to install it, go ahead. you should see it now in the General->Profiles section of your iPhone.

For Windows Mobile:
Connect your phone to your PC (must have ActiveSync to browse files) (Possibly could use the iPhone method, but I wasn’t sure…).   Transfer your certificate over (My Docs is a good place).  Using the phone, open File Explorer (Applications->File Explorer I think), find the file. It’ll want to install when you select it, so make it so!

Then its prety straight forward from there. On ActiveSync on the phones, remember to enable SSL at some point where it asks. Enter the name of your server (mine was ubersecret.myurl.com), username, and password. With all the above done, these toys should work!