java - 如何使用我的 Apple 开发者 ID 签署 .jar 文件

标签 java code-signing executable-jar osx-gatekeeper

我有一个 java 可执行 jar 文件,需要使用我的 Apple 开发者 ID 进行签名。我不打算通过应用程序商店分发它。我将通过我的网站直接向客户分发该应用程序。我不打算绕过 Gatekeeper。当客户安装应用程序时,使用我的开发者 ID对应用程序进行签名可以让 Gatekeeper 满意,从而避免出现“我是“身份不明的开发者”的安全提示>”。

任何帮助将不胜感激

最佳答案

来自 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

另请参阅:

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.

关于java - 如何使用我的 Apple 开发者 ID 签署 .jar 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53313548/

相关文章:

java - 如何在 Rest Web 服务中获取 ServletContext

java - Gradle AppEngine 项目文件更改在不重新启动的情况下不会反射(reflect)出来

java - Spring MVC GET @ModelAttribute java.util.Date 类型带时间戳

ios - 对 [AppName] 进行 native 签名测试需要开发团队 ios

java - 此 jar 包含其签署者证书将在六个月内过期的条目

java - 将 java.util.TimeZone 字符串转换为 java.util.TimeZone

具有多个目标的 iOS 扩展

java - 由 netbeans 构建的 JAR 文件未执行

jar - 如何查看jar文件的版本?

java - 使用所有 Karate 依赖项创建测试 jar