Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Sign a .jar file with my Apple Developer ID

I have a java executable jar file that I need to be signed with my Apple Developer ID. I don’t intend to distribute it through the app store. I will be distributing the app directly to customers through my website. I’m not intending to bypass Gatekeeper. Signing the app with my developer ID is what will satisfy Gatekeeper when customers install the app and thus avoid a security prompt that I am an "Unidentified Developer".

Any help would be greatly appreciated

like image 548
Sachin Bhatia Avatar asked Oct 16 '25 04:10

Sachin Bhatia


1 Answers

From apple.stackexchange.com:

Signed binary being warned as signed by unknown developer on OSx

It appears the security settings of the computer in System Preferences → Security & 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

See also:

How to sign Java applet with Apple Developer ID

Oh, there is no way to do it =( Java applets cannot participate in the Developer ID program. The Apple's answer is here https://stackoverflow.com/a/12210534/1068878.

like image 79
paulsm4 Avatar answered Oct 17 '25 20:10

paulsm4



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!