Installing Windows Mobile 6.0 Root Certificates
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.
Thanks that worked!
Thanks for posting this. Very helpful for a first time installation of a certificate to to Windows Mobile.
My copy function is grayed out. Is there something else I need to do.
hi
I have followed above mentioned steps.
My certificate installs in intermediate and not Root.!!!
and i am still geting the same error message!!
any help, i will appreciate.
thanks
Thank’s a lot, this was very helpful, my IT depratment hasn’t been able to help me but the step-by-step screen shots certainly helped
So what did u do Rich, when the Copy to File button is greyed out?
My copy to file button is also greyed out.
Perfect guide! Thanks a lot. I didn´t have to perform steps 18-22 on my brand new HTC Diamond2.
Rich, you need to run IE as administrator
Thank you for posting this… very helpful for windows mobile users and developers.
I have a new HTC HD2 device and could’nt synchronise with OWA because of 0×80072FOD error. I followed the steps deeeopped above and… it works!
Thanks a lot
The most amazing is that the customer service of HTC didn’t knew the answer!
It’s very helpfull. Tested on Samsung Omnia. Everything works fine
Yup…your instructions are on target. Thanks
Good advice, worked on HTC s740…!
New HTC HD2, worked perfectly, very clear, thanks, saved me a lot of grief!
hey everyone,
have the same problem as victor, my cert installs as intermediate and not as root, what can I do about it??? anyone has any answers how to solve this?
thx for your help poldy
I am using an HTC Diamond2 and I am amazed at how far back Windows Mobile 6.5 is.
The AppleOS on the Iphone finds the certificate automatically and says ‘Do you want to install it’ and it’s job done.
Why is windows mobile so useless?
Wow! This advice is from 2007 and it is still valid
I walked through step by step and my HD2 with WM6.5.1 is synchronizing again!
Thanks a lot!
Thanks a lot
I walked through step by step and my HD2 is synchronizing again!