参见英文答案 >
Logically solving Java Security Error 1个
自从最新的Java更新以来,我的两个applet向我们的用户显示一个警告弹出窗口,即使我们使用的两个jar文件都已签名.我已经使用jarsigner -verify MyJarFile.jar命令验证了它们是否已签名.以下是我们看到的弹出消息……
我的applet通过JNI调用C dll. C dll调用C#netmodule.
有谁知道我能做些什么来让这个弹出窗口消失?它说应用程序包含签名和未签名的代码,但我在我的jar文件中签署每个java文件(只有1个).我需要做更高级别的签名吗?
编辑:这是在最新的Java更新时发生的.请参阅以下摘自this page的报价.
Authors and vendors of applications deployed using either Java applets or Java Web Start technology – applications distributed to end users at runtime via the web browser or network – should sign their code using a trusted certificate for the best user experience. Specifically, all Java code executed within the client’s browser will prompt the user. The type of dialog messages presented depends upon risk factors like, code signed or unsigned, code requesting elevate privileges, JRE is above or below the security baseline, etc. Low risk scenarios present a very minimal dialog and include a checkbox to not display similar dialogs by the same vendor in the future. Higher risk scenarios, such as running unsigned jars, will require more user interaction given the increased risk.