Wednesday, June 17, 2009

Create .cab file to install your OWA certificate on Windows Mobile device

If your company uses exchange Activesync to allow users to synchronize their email boxes with Windows Mobile or Activesync enabled OSs.

Some companies might use its own SSL certificate that is signed by internal CA so when mobile device user tries to configure his mobile to sync, he will need to install the root cert for his server to be able to establish the SSL channel.

In this article I have shown the instruction on how to create cab file(Windows mobile setup file) so users can download prior to configure their mobiles.

This steps requires two tools

sslchainsaver mail.company.com

It will also create one folder contain the certificates named mail.company.com and two files called

MAIL.Company.COM.wm5.xml

MAIL.Company.COM.wm6.xml

you can view the contents of the file by typing

type MAIL.Company.COM.wm6.xml

image

to create the cab file rename the mail.company.com.wm6.xml to _setup.xml

use the command makecab to create the cab file

makecab _setup.xml companycert.cab

then copy companycert.cab file to your Windows Mobile device and run the file.

To download makecab click on this link http://support.microsoft.com/kb/310618

To download Windows Mobile SSLChainSaver http://www.microsoft.com/downloads/details.aspx?FamilyID=6123EB55-6590-4643-8E7F-11C177104DE2&displaylang=en