更新到Java版本7更新51后,我购买了代码签名证书并签署了我的applet.我有主applet(AppletDemo.jar)和另外两个applet(commons-codec-1.7.jar和FDxSDKPro.jar),它们由主applet使用.我用DigiCert证书签了全部.
所有这些都签名,并用jarsigner工具验证,我得到这样的消息:
*s = signature was verified m = entry is listed in manifest k = at least one certificate was found in keystore i = at least one certificate was found in identity scope jar verified.*
当我尝试加载applet时,我在java调试控制台中收到以下消息(真正的url被替换为tag):
basic: Plugin2ClassLoader.addURL parent called for/fpApplet/AppletDemo.jar basic: Plugin2ClassLoader.addURL parent called for /fpApplet/FDxSDKPro.jar basic: Plugin2ClassLoader.addURL parent called for /fpApplet/commons-codec-1.7.jar security: Certificate revocation enabled. Disable security validation optimizations. security: Validate the certificate chain using CertPath API security: Trust for: fpApplet/FDxSDKPro.jar has ended: Thu Jan 01 01:00:00 CET 1970 security: Validate the certificate chain using CertPath API security: Trust for: /fpApplet/commons-codec-1.7.jar has ended: Thu Jan 01 01:00:00 CET 1970 security: Validate the certificate chain using CertPath API network: Cache entry not found [url: /fpApplet/, version: null] security: Grant socket perm for /fpApplet/ : java.security.Permissions@199a51e (("java.net.SocketPermission" " " "connect,accept,resolve")) basic: Your security settings have blocked an untrusted application from running basic: exception: Your security settings have blocked an untrusted application from running. com.sun.deploy.security.BlockedException: Your security settings have blocked an untrusted application from running
我假设,Applet因此而被阻止,以及以下两行(Trust for:fpApplet/FDxSDKPro.jar已结束:Thu Jan 01 01:00:00 CET 1970).
如果罐子签了,我不知道怎么会发生这种情况?有没有人有这样的问题?