How do I update the SSL cert in my android apps?

后端 未结 1 1492
执笔经年
执笔经年 2021-02-03 13:16

Recently I work on the project that has implemented the SSL.

The SSL cert is expire once per year. And it throw exception in android after I renew the cert on the server

相关标签:
1条回答
  • 2021-02-03 14:00

    Looks like the app is using "certificate pinning", which means that a certificate has been hardcoded into the app, and the app has been instructed to accept only that certificate and no other.

    This increases security at the expense that you need to update your app when (ideally before) the certificate expires. You can following the instructions from a post I created here:

    https://stackoverflow.com/a/24007536/276949

    to generate a new .bks file from your certificate. Once this is done, overwrite your old .bks file and your app should successfully connect via SSL.

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