Add certificate generation during the app start.