Recently I ran into a situation where we had purchased an Exchange certificate from a fairly common certificate authority (GeoTrust) and everything worked well with browsers automatically trusting the certificate… and then we picked up a Windows Mobile 6.0 device from Verizon. For whatever reason, Verizon or Microsoft has decided this particular CA was not trustworthy and isn’t in the default list, so ActiveSync fails to connect to the Exchange server. Fortunately, we can force the device to trust the certificate.
Windows Mobile 6.0 brought a change in how to install certificates. Users cannot install a certificate into the root certificates store on a phone unless the certificate is self-signed. This ensures that only true root certificates exist in the root store.
The pain here is that when you try installing a certificate such as the one used to secure Outlook Web Access it gets dumped in the personal store, and ActiveSync won’t connect because it can’t verify the certificate authority associated with the certificate. The solution is to get the certificate authority’s self-signed certificate into the root store. We can do this with the following steps:
Open Internet Explorer and navigate to the site securing OWA. Click the lock next to the address bar.
Click the View Certificates link.
Click the Certification Path tab at the top.
Click the top certificate name first (the root CA) and then click View Certificate.
Click the Details tab.
Click the Copy to File… button.
Click Next to start the Certificate Export Wizard.
Click Next to export the certificate as a DER encoded binary X.509 (.CER)
Browse to a location where you’d like to save the certificate and give it a name.
Click Finish to complete the Certificate Export Wizard.
You should see a dialog that the export was successful.
Now copy that .cer file you created to the device in some way. Via a storage card, USB cable, Bluetooth, whatever. Just get the .cer in the file structure of the phone somehow.
Power up the phone and click Start.
Find and open File Explorer.
Locate the .cer file you copied to the phone. I called mine root.cer.
Press Menu and then Install.
You should see a dialog that the install was successful. I’ve seen it fail on the first attempt before, so try a few times if you get an error. Press OK.
Navigate to the phone’s Settings option.
Click on Security and press OK.
Click on Certificates and press OK.
Click on Root and press OK.
Scroll to the end of the certificates list or keep pressing More. You should see the certificate you installed listed at the very end of the list. If it’s not there, try starting over and making sure you’re exporting the certificate authority’s certificate, and not yours.
You can now test ActiveSync and it should be able to connect to the Exchange server without ever needing to install your OWA certificate. It’s automatically trusted because the certificate authority now exists in your root certificates store.
January 9th, 2008 at 4:13 am
Thanks that worked!
September 23rd, 2008 at 10:49 am
Thanks for posting this. Very helpful for a first time installation of a certificate to to Windows Mobile.