安卓 如何在没有应用程序更新的情况下续订SSL证书 在Play商店中



我在原始文件夹中使用了两种类型的授权证书(商业证书(,用于我的Android Studio移动应用程序。 第一个:.crt(用于请求加密( 第二个:.bks(使用SSL固定向服务器请求(

我的 .crt 文件有效期仅为 2 年。我想续订我的证书,没有 将我的应用程序更新到 PlayStore 商店。我已经参考了很多链接。他们说,生成新证书并在更新的应用程序中使用它,并且仅在PlayStore选项中更新应用程序。

注意:请建议,如果有任何其他方式,无需在Play商店中更新应用程序,我想在移动应用程序中及时更新我的ca。

感谢提前

我已经参考了以下有关我的SSL证书续订的链接

https://stackoverflow.com/questions/15788714/when-an-ssl-cert-is-renewed-does-an-android-bks-also-need-to-be-updated
https://stackoverflow.com/questions/24197201/how-do-i-update-the-ssl-cert-in-my-android-apps
https://stackoverflow.com/questions/33706984/android-how-to-store-certificate-in-keystore-programmatically
http://blog.antoine.li/2010/10/22/android-trusting-ssl-certificates/
http://helpdesk.objects.com.au/java/how-do-i-programatically-extract-a-certificate-from-a-site-and-add-it-to-my-keystore
https://stackoverflow.com/questions/2012497/accepting-a-certificate-for-https-on-android
https://stackoverflow.com/questions/40935588/android-update-ssl-certificate

不,恐怕没有

生成新证书时,文件会刷新,因此必须完成应用程序。

这必须让您重新思考为什么您的"架构"以这种方式工作,因为证书应该存储在服务器中,每隔一定时间编程一次自己的备份和续订。

最新更新