注册Java小程序,以便它可以在OS X 10.8山狮和Windows [英] Sign java applet so that it works on OS X 10.8 Mountain Lion and Windows
问题描述
我开发一个Java小程序,需要打出来的沙盒,所以它是由受信任的CA(Thwate的)的证书进行签名。这在OS X,Windows和Linux运作良好。现在,随着OS X 10.8(山狮),我有这个问题:
OS X 10.8守和Java小程序
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). This has worked well on OS X, Windows and 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需要签名的applet与苹果开发者ID证书签名。
It seams like OS X 10.8 require a signed applet to be signed with an Apple Developer ID Certificate.
我的问题是:
如果我改变,使小程序是由苹果开发者签署证书的ID将在此也可以在Windows / Linux的工作等?
如果没有,我怎么能有一个签名的小程序签名验证在所有主要操作系统罚款?我可以用两个证书签名Applet?
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? 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?
推荐答案
在回答这个问题现在已经被张贴在上面链接的问题:
OS X 10.8守和Java小程序
The answer to this question has now been posted in the linked question above: OS X 10.8 Gatekeeper and Java applets
基本上它不能被解决。我曾尝试开发者ID申请证书导出到的.p12证书,并试图签署与该小程序,除了从Thwate的证书,因为它允许签署JAR /小程序具有多个身份。小程序被签署但的jarsigner不能验证签名。
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. The applet gets signed but jarsigner can't verify the signature.
于是方式来改掉这个坏警告消息是,的用户的签名Applet 的执行下列操作之一:
So the ways to get rid of this bad warning message is that the user of the signed Applet does one of the following:
- 更改他的守卫设置,让随时随地的应用程序。
- 升级到Java 7,它是由Oracle开发和Java已经做了previously在OS X上,作品即从Thwate的证书就足够了。
- 添加Thwate的证书给他的钥匙串。
这篇关于注册Java小程序,以便它可以在OS X 10.8山狮和Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!