0

How to update the SSL certificate for the app which is already in use. do we need to update whenever SSL expires? I'm using retrofit

  • 1
    So you are using a client certificate in the app? Or do you just use certificate pinning? If you can answer both questions with no and if you are using an certificate from a regular CA you don't need to do anything. – Robert Nov 16 '21 at 12:09
  • 1
    see this https://stackoverflow.com/questions/30779533/how-to-make-https-request-with-ssl-certificate-in-retrofit for adding your ssl certificate to a retrofit request. As for logistics, you can keep a local copy of the ssl certificate which you use on first app install, after which you can setup a worker to fetch the new certificate when you need it – Monica Ivan Nov 16 '21 at 12:10
  • 1
    You can try out this https://stackoverflow.com/a/69507126/6777695 it looks similar to your question – Hakan54 Nov 16 '21 at 20:59

0 Answers0