Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android How to renewal ssl certificate without app updating in play store

I have used two types of Authorized certificates(commercial ca) used in my Android Studio mobile application inside raw folder. first: .crt (for request encryption ) second: .bks ( request to server with SSL Pinning )

my .crt file expiry is 2 year only. I want to renewal my certificate without updating my app to playstore. I have refereed many links. they are saying ,generate new certificate and use it in updated app and update the app in playstore option only.

Note: Please suggest, If any other way, without updating app in play store, i want to renewal my ca in mobile application run-timely.

Thanks Advance

I have refereed below links regarding my ssl certificate renewal

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
like image 416
harikrishnan Avatar asked Oct 16 '25 20:10

harikrishnan


1 Answers

No, I'm afraid there's not.

When generating new certificates, the files are refreshed, so the app has to be done.

This has to make you rethink why your "architecture" is working that way, since certificates should be stored in servers, with their own backup and renewal programmed every certain amount of time.

like image 178
Rafael Ruiz Muñoz Avatar answered Oct 19 '25 11:10

Rafael Ruiz Muñoz