Hello,
I have a problem to notarize my .pkg.
Indeed, I have a certified certificat in .pfx format and I have a Apple Developer Program account.
1 - in the key chain, I request a certificate from a certificate authority in Keychain to have a .csr
2 - I install the .csr to have a .cert than I put in keychain to have a valide certificate
3 - I execute this command :
Moreover, when I execute this command :
My Question is, How I can notarize my .pkg ?
I have a problem to notarize my .pkg.
Indeed, I have a certified certificat in .pfx format and I have a Apple Developer Program account.
1 - in the key chain, I request a certificate from a certificate authority in Keychain to have a .csr
2 - I install the .csr to have a .cert than I put in keychain to have a valide certificate
3 - I execute this command :
productsign --sign "Developer ID Installer: Name_of_developer_ID (Number_of_DeveloperID)" name_uncertfied.pkg name_certified.pkg
Moreover, when I execute this command :
security -v find-identity -p codesigning
My Question is, How I can notarize my .pkg ?
Yes, with your command I find my certificate in "valid identities" but I can't, already, signed my package (the .pkg's file) with this certificate.
How I can do this ? I used this command : productsign --sign "Developer ID Installer: Name_of_developer_ID (Number_of_DeveloperID)" name_uncertfied.pkg name_certified.pkg
and I have this answer : Product sign: error: Could not find appropriate signing identity for "Developer ID Installer: (**)"
Thanks for your help.
How I can do this ? I used this command : productsign --sign "Developer ID Installer: Name_of_developer_ID (Number_of_DeveloperID)" name_uncertfied.pkg name_certified.pkg
and I have this answer : Product sign: error: Could not find appropriate signing identity for "Developer ID Installer: (**)"
Thanks for your help.