Post

Replies

Boosts

Views

Activity

productsign is not able to find cert from keychain
We are trying to sign a Mac installer (.pkg file) using the following command.productsign --sign "Developer ID Installer: MyCompany, Inc." unsigned_installer.pkg signed_package.pkgBut we are getting the following error.productsign: error: Could not find appropriate signing identity for “Developer ID Installer: MyCompany, Inc.”.When we try to find the certificates using security -v find-identity -p codesigning, we get the following output.Policy: Code SigningMatching identities1) 1234....6789 "MyCompany, Inc." 1 identities foundValid identities only1) 1234....6789 "MyCompany, Inc." 1 valid identities foundWhen tried as:productsign --sign "commonName" unsigned.pkg signed.pkgWe get error as :productsign: error: Could not find appropriate signing identity for “commonName”. An installer signing identity (not an application signing identity) is required for signing flat-style products.Can you give us any on how to troubleshoot and fix this issue?
8
0
9.2k
Sep ’15