I have a .pkg that I have created to distribute my company's software, but when downloaded from other macs it says "It cannot be opened because it comes from an unidentified developer", the pkg is signed with a valid App Store Installer type certificate With the productign tool , the certificate appears correctly in the upper right part of the .pkg and it is valid, it opens without any problem, except when it is downloaded from the internet, is there any other way to sign it or avoid that?
What I did was change the certificate type to one of type Developer ID Installer:
Once this is done, double-click the certificate (previously downloaded) to add it to Keychain Access and proceed to sign your .pkg with the productsign(1) tool as follows (Terminal):
productsign [options] --sign identity input-product-path output-product-path
Example: