If you are familiar with certificates you can go ahead and skip this section, but for those who want to know a bit more about the mechanics of how certificates work, before we get started with how to use cert (https://docs.fastlane.tools/actions/cert), we will give a basic overview of what certificates are, as well as how they work with the provisioning profiles, which we covered in the previous chapter.
As mentioned in the previous chapter, code signing provides assurances to both Apple and the end users that the app has been untampered with. Through the combination of certifying and provisioning for either the App Store or to distribute via TestFlight, the app comes from the original developer and has not been compromised by the addition of malicious software.
When you distribute your app to the App Store, Apple, in fact, re-signs it with their certificate...