iOS app rejection - SSL certificates setup/renewal

Has your app that's been working suddenly been rejected? Has is suddenly stopped working on live when it was a second ago?

The Problem:

SSL certificates have expired. This is for me so I remember what to do.

The Fix:

For apache:

  1. Generate a new SSL certificate(s) from wherever you get them.
  2. Log in to your apache server.
  3. Upload the certificate(s), overwriting the originals (back up just in case).
  4. Restart apache:
sudo service apache2 restart


SSL is important for stuff.