如何签署Java小程序与苹果开发者ID [英] How to sign Java applet with Apple Developer ID

查看:292
本文介绍了如何签署Java小程序与苹果开发者ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Thwate的证书签名的Java小程序,需要用苹果开发者ID签名。

I have java applet signed with thwate certificate and need to sign it with Apple Developer ID.

由于是知名的Mac OS X 10.8需要Java应用程序与苹果开发者ID签名。它会导致一些问题与运行Java小程序,看门人说,该数字签名无法验证。有同样的问题 OS X 10.8守和Java小程序和<一个href=\"http://stackoverflow.com/questions/12088680/sign-java-applet-so-that-it-works-on-os-x-10-8-mountain-lion-and-windows\">Sign Java小程序,以便它可以在OS X 10.8山狮和Windows

As is well-known, Mac OS X 10.8 requires Java applications to be signed with Apple Developer ID. It causes some problems with running Java applets, Gatekeeper says that "The digital signature could not be verified". There are the same issues OS X 10.8 Gatekeeper and Java applets and Sign java applet so that it works on OS X 10.8 Mountain Lion and Windows

我也发现了这个在甲骨文公司的Mac常见问题:
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/mac-faq.html#gatekeeper

I also found this in Oracle's Mac FAQ: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/mac-faq.html#gatekeeper

所以,我要求和下载的苹果开发者ID证书我的Mac,但我找不到任何地方如何签署与苹果开发者ID Java小程序。

So, I requested and downloaded Apple Developer ID certificate to my Mac, but I cannot find any where how to sign java applets with Apple Developer ID.

我试过以下内容:


  1. 使用注册在Mac上的小应用程序的 codesign 工具。

codesign -s "Developer ID Application: MyCompany" MyApplet.jar

但jar文件实际上并没有通过这个命令来修改(不包含日期,文件大小,或二进制内容被更改)。

But the jar file was not actually be modified by this command (no date, file size, or binary content was changed).

苹果出口证书,P12和使用的jarsigner 。我出口的苹果根CA 苹果时间戳认证中心开发者ID应用:MyCompany的以P12和我签字罐子的常用方法。

Export Apple certificate to p12 and use jarsigner. I exported Apple Root CA, Apple Timestamp Certification Authority, and Developer ID Application: MyCompany to p12 and sign my jar in a common way.

导入我的Thawte的证书到Mac钥匙串访问和苹果都和Thawte证书导出到P12。

Import my thawte certificate to Mac Keychain Access and export both Apple and thawte certificates to p12.

这三种方式给我什么。当我打开一个网页的小程序,守还是说,它无法验证。

All three ways give me nothing. When I open a page with the applet, Gatekeeper still says that it could not be verified.

任何人可以就如何我签字小程序提供给我一步一步的指示?

Could anybody provide me with step by step instructions on how to sign my applet?

推荐答案

哦,有没有办法做到这一点=(Java小程序不能参加开发者ID程序。
苹果的答案就在这里<一个href=\"http://stackoverflow.com/a/12210534/1068878\">http://stackoverflow.com/a/12210534/1068878.

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

这篇关于如何签署Java小程序与苹果开发者ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆