简体   繁体   English

签名的小程序无法加载

[英]Signed Applets don't Load

After change in security in new version of Java there is a popup showing information about unsigned content every time site is reloaded. 在新版本的Java中更改安全性之后,将弹出一个窗口,显示每次重新加载站点时有关未签名内容的信息。 So we decided to sign our applets (and all libraries used). 因此,我们决定对applet(以及所有使用的库)进行签名。 But after signing, all applets ceased to load on site, it's just blank grey space. 但是在签名后,所有小程序都不再在站点上加载,它只是空白的灰色空间。 After deploying signed jars we got information saying “Application Blocked by Security settings” . 部署签名的jar之后,我们得到的信息是“应用程序被安全设置阻止” When I click 'OK' applet shows information "Error. Click for details" , when I click it there is no information in applet console. 当我单击“确定”时,小程序显示信息“错误。单击以获取详细信息” ,当我单击它时,小程序控制台中没有任何信息。

What can be reason of this? 这可能是什么原因?

Steps to resolve in my case: 在我的情况下要解决的步骤:

-create jar per applet -为每个小程序创建jar

-create jnlp file per applet outside jar file -在jar文件之外的每个applet创建jnlp文件

-still you need jnlp in jar file in JNLP-INF -仍然需要在JNLP-INF的jar文件中使用jnlp

-set properties in manifest 清单中的设置属性

-then sign every lib and jar with cert -然后用证书签署每个库和罐子

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM