how to install CA certificate programmatically on Android without user interaction

后端 未结 7 1702
别跟我提以往
别跟我提以往 2020-12-02 11:04

I\'m trying to install certificates without prompting the user. I know this is not good practice, but that\'s what PM wants.

Using KeyChain.createInstallIntent(), I

相关标签:
7条回答
  • 2020-12-02 11:41

    Only a system user application can silently install a CA certificate. On Lollipop though, Google introduced silent certificate management API through DevicePolicyManager, but you would either have to be Android-for-Work profile owner or device owner.

    0 讨论(0)
提交回复
热议问题