I am enrolling my email against an exchange server authenticated by CA cert. How do I make my device trust the CA programmatically so that it an be authenticated using the CA cert ?
Asked
Active
Viewed 1,109 times
0
-
This is a duplicate question. You can refer to this link on this site for more information. http://stackoverflow.com/questions/4461360/how-to-install-trusted-ca-certificate-on-android-device I have used **alexander.egger** answer which perfectly work for the same kind of implementation. – Govardhan Mathi Feb 10 '15 at 21:19
1 Answers
0
You cannot make the whole device trust a certificate from your program without root, only the user can add certificates in settings. But you can make your program trust any certificate. For that, see this response.

StenSoft
- 9,369
- 25
- 30
-
@StenSoft I just want my app to trust my Certificate Authority not the whole device. – Theguy Feb 11 '15 at 22:31
-