Tell me more ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a Nexus 7 (Android 4.1.1) and I want to add a CA (Certificate Authority) to my device to use it for the ssl-connection to my mail server. The CA is self-signed. The Certificate does only contain the public key of the CA (of course!).

I also want to keep my screenlock disabled because on a tablet not leaving my house it does not make sense to have a screen lock.

Now the problem arises: Whenever I want to import the CA, Android wants me to change my screenlock to digits/password which I want to avoid.

Can this behaviour somehow be prevented? There is nothing security critical at a public key of a CA.

I know that when the phone is rooted one can add a CA, but I want to avoid rooting my phone.

share|improve this question
1  
I think this was closed because a complete answer to the other question would include a non-root method if one was possible. In the hopes of getting such an answer we don't want to divide attention between that one and this one. In this case though I don't think it will hurt to reopen this, consider linking to the other and explaining the difference though :) – Matthew Read Sep 6 '12 at 15:35

3 Answers

There is no way I know of which will achieve this. I've been looking for a way of doing the same thing for a while now, as my work requires me to use a CA, but have found nothing after a lot of looking. If you were rooted then it might be possible, but without root I'm afraid you're going to have to just deal with it.

Sorry!

share|improve this answer

In case you decide to root the phone (you can only root it temporarily to install the certificates, it doesn't need to remain rooted), you can upload the certificates into a directory and the next reboot they will be validated:

adb shell mount -o remount,rw /system
adb push 1dbdda5d.0 /system/etc/security/cacerts/

where 1dbdda5d.0 is your certificate to be trusted.

share|improve this answer
The author stated that he doesn't want to root his phone. Besides this, I'm pretty sure, that adding just the single file to this directory won't work. The certificate must be included into the /system/etc/security/cacerts.bks key store to be visible for Android. See CACert's howto if you want to know the steps needed. – ce4 Dec 12 '12 at 10:51

There is a way. Fail on the keylock enough times, then click on "forgot password", then login with your google account and voila..the keylock is gone.

share|improve this answer
Could you explain further? How does this help me with installing a CA? Do I have to do this everytime the keylock is visible? – theomega Jan 10 at 10:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.