I believe once you deploy the custom built app, regardless of how you deploy it, the certificate will come with the app. Once the certificate expires, from what I have seen, the app will stop working once the iPad is restarted.
You will then have to delete the existing app, this does not remove the expired certificate, install the new app (with the renewed cert), it will then work.