Select the certificate and find the common name field.
Once you have confirmed your certificate is properly installed, just run the command below.Ĭodesign -s "Your Company, Inc." /path/to/MyApp.appĭon't know the common name of your code signing certificate? You can find it in the Keychain Access Manager. Your certificate should appear in the My Certificates catagory of the Keychain Access Manager.
pfx version of the file? To install it, click the file and enter the. If you used our easy installation tool, the certificate should have been imported to the certificate store through your web browser.ĭo you have a.
Make sure you've properly installed your code signing certificate to the Mac certificate store. However, if you want your apps to open on a Mac that has Gatekeeper enabled or want to distribute apps in the App Store, you need to create a developer ID to sign your Mac apps and installer packages only Apple Developer code signing certificates are compatible with GateKeeper.Ĭheck Code Signing Certificate Installation
Note: You can use a DigiCert Code Signing Certificate (standard and EV) to sign your Mac OS software, tools, updates, utilities and applications. Let us know by responding to this post if you have any questions or feedback! You can also ask questions by tagging #IntuneSuppTeam out on Twitter where our Support as a Feature team helps answer quick questions.Mac OS (and 9) Signing Code from the Command LineĪpple code signing is done from the command line using their (aptly named) codesign tool and should be very straightforward.
This sample script demonstrates how the above steps can convert a DMG file to INTUNEMAC.
IntuneAppUtil -c signed_final.pkg -o /finalpath Create the INTUNEMAC file from the signed PKG file.Productsign -sign “3rd Party Mac Developer Installer: Developer Name (XXXX)”. Sign the PKG file using a Mac Developer ID certificate.Productbuild -synthesize -package /TargetDirectory/intermediate.pkg /TargetDirectory/distribution.xml Note: This is required to build a redistributable package. Create the distribution XML file for the intermediate PKG file.Pkgbuild -install-location /Applications -component /Volumes/path_to_app/app_to_convert.app. Pass the install-location as an argument to the pkgbuild command. Note: When using autocomplete, delete the final slash in the APP path. Make a temporary folder and navigate to it.Note: Skip this step when starting with APP-format apps. The steps below require that you initiate with an app of DMG or APP format that satisfy the conditions above. This is not an exhaustive list of all applicable conditions.Follow these instructions to set up the App Wrapping Tool correctly. You will need the Microsoft Intune App Wrapping Tool for macOS to complete the steps in the next section.DMG files containing more than one APP file are not supported.PKG files that are packaged using different packaging commands may not deploy successfully. It is crucial that the PKG files are created using the commands below.This also applies to DMGs containing PKG files. Unsigned applications are rejected by macOS. The converted app must be re-signed for successful MDM-deployment.The app deployment will not complete successfully if the property list files are included in the app package. For apps that require a property list file (plist file), the property list file must be deployed using a macOS device configuration profile in Microsoft Endpoint Manager before the app is deployed.The app deployment will not complete successfully if the extension is included in the app package. For apps that require a kernel or system extension, the extension must be deployed as a macOS device configuration profile in Microsoft Endpoint Manager before the app is deployed.These steps have been tested on macOS 10.15. The rest of the document outlines the recommended app preparation steps.
Therefore, for apps that are of non-pkg types, it requires admins to run commands on macOS either manually or as a script to create a signed app package (.intunemac file) that can be distributed using Intune. Natively, Mac MDM only supports installing signed. You can use Microsoft Endpoint Manager to deploy the most common app types supported by macOS such as. See the original author and article here.īy: Arnab Biswas | Program Manager – Microsoft Endpoint Manager – Intune