how to install CA certificate programmatically on Android without user interaction

后端 未结 7 1703
别跟我提以往
别跟我提以往 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:25

    If you have root privilege, you could copy the certs file to /data/misc/user/0/cacerts-added/

提交回复
热议问题