MacOS – Signed binary being warned as signed by unknown developer on OSx

code-signingmacosSecurity

I have a binary file. I released it to the customer, which is signed by a valid developer certificate. When customer is downloading that binary and trying to execute it (customer has a standard user account on Mac) the user gets a popup notification:

signed by a unknown developer and you security setting allows installation only from Appstore

When user try to change setting obviously it ask for admin password.
How do I see if something is wrong with my developer certificate?

Another possible clue on this: After downloading the same binary, if I execute on my system, it does not give my non-admin user any warning.

Signed binary cert chain is :

Authority=Mac Developer: tommyboy

Authority=Apple Worldwide Developer Relations Certification Authority

Authority=Apple Root CA

Best Answer

It appears the security settings of the computer in System PreferencesSecurity & Privacy are set to Allow apps downloaded from: App Store as shown in the error message. Regardless of how your application is signed, if it's not distributed through the App Store, Gatekeeper will show that message. To allow all other signed apps, the setting needs to be changed to ‘App Store and identified developers’.