Signing a Custom Package File with the Installed Certificate
There are several ways to sign a custom package file with the installed certificate. Two common methods are to either use Jamf Composer or the command line:
Method 1—Use Composer
Open Composer Preferences.
Ensure the Build flat PKGs checkbox is selected.
Select the Sign with: checkbox and choose your certificate from the pop-up menu.
When a new package is created with these settings, it will be signed by the certificate.
Method 2—Use the Command Line
Open Terminal and enter a command similar to the following:
/usr/bin/productsign –sign “
/usr/bin/productsign –sign “JamfSign” ~/Desktop/CustomPackage.pkg ~/Desktop/CustomPackage-signed.pkg
Creating a Signing Certificate Using Jamf Pro’s Built-in CA to Use for Signing Configuration Profiles and Packages