[英]Sign java applet so that it works on OS X 10.8 Mountain Lion and Windows
I develop an Java Applet that needs to break out of the sandbox so it is signed by a certificate from a trusted CA (Thwate). 我开发了需要突破沙箱的Java Applet,因此它由来自受信任的CA(Thwate)的证书签名。 This has worked well on OS X, Windows and Linux.
这在OS X,Windows和Linux上运行良好。 Now with OS X 10.8 (Mountain Lion) I have this issue: OS X 10.8 Gatekeeper and Java applets
现在有了OS X 10.8(Mountain Lion),我遇到了这个问题: OS X 10.8 Gatekeeper和Java小程序
It seams like OS X 10.8 require a signed applet to be signed with an Apple Developer ID Certificate. 像OS X 10.8这样的接缝要求使用Apple Developer ID证书对签名的小程序进行签名。
My question is: If I change so that the applet is signed by a Apple Developer ID Certificate will this also work on windows/linux etc? 我的问题是:如果我更改以使Applet由Apple Developer ID证书签名,那么在Windows / Linux等操作系统上也可以使用吗? If not, how can I have a signed applet which signature validates fine on all major OS?
如果没有,我如何拥有一个签名的小程序,该签名的小程序可以在所有主要操作系统上正常运行? Can I sign the applet with two certificates?
我可以用两个证书在小程序上签名吗?
The answer to this question has now been posted in the linked question above: OS X 10.8 Gatekeeper and Java applets 这个问题的答案现在已经发布在上面的链接问题中: OS X 10.8 Gatekeeper和Java applet
Basically it can't be solved. 基本上是无法解决的。 I have tried to export the Developer ID Application certificate to a .p12 certificate and tried to sign the applet with that in addition to the certificate from Thwate since it is allowed to sign a jar/applet with more than one identity.
我试图将开发人员ID应用程序证书导出到.p12证书,并尝试用Thwate证书之外的证书对applet进行签名,因为它允许对具有多个身份的jar / applet进行签名。 The applet gets signed but jarsigner can't verify the signature.
小程序已签名,但jarsigner无法验证签名。
So the ways to get rid of this bad warning message is that the user of the signed Applet does one of the following: 因此,摆脱此不良警告消息的方法是,已签名的Applet的用户执行以下一项操作:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.