Valid HTML 4.01 Transitional

HTC G1 Cellphone
Add an X.509 Certificate Authority Root

Jim Carter, 2009-07-10

A number of Android users, myself included, have posted forum complaints that they cannot read or send mail, or do other internet activities such as XMPP/Jabber, that involve SSL/TLS to a server whose X.509 host certificate is signed by a trust vendor or other origin of trust that is not in Android's certificate storage area. Here is the procedure to add your preferred X.509 root certificate, or to delete a certificate which you object to on political grounds.

If a reader has gotten to this page he/she probably is fully aware of the issues, but they should be repeated: you should only believe in a root certificate if you have obtained it from a trusted source, e.g. from the hand of a trusted system administrator or over an internal LAN on which the enemy is not likely to be operating, and if you trust the person who can wield its secret key to only certify hosts or persons whose hat color matches yours.

These instructions are for Android 1.5 Cupcake, but are likely to be fairly stable on back or future versions.

To add (or delete) a root certificate:

Now you should be able to connect to your SSL/TLS servers without being hassled about certificates issued by an untrusted origin of trust.

This issue has been posted on Android's bug system as issue 3237. It has been merged into an earlier similar thread, Android bug 1016.