jnlp 中的 jar 资源不是由同一个证书签名的 [英] jar resources in jnlp are not signed by the same certificate

查看:115
本文介绍了jnlp 中的 jar 资源不是由同一个证书签名的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 web start 上工作了几年,并且有签署 jars 和其他什么的经验.我第一次尝试使用 web start 部署 RCP 应用程序,尽管我实际上已经使用相同的证书对所有 jar 进行了签名,但我不断收到此错误:'jnlp 中的 jar 资源未由相同的证书签名'

有没有其他人遇到过这个?如果是这样,关于如何修复的任何想法?

解决方案

当我在检查 jar 后遇到类似问题时,结果发现某些 3rd 方 jar 是由其他人签名的.

您应该为由另一个证书签名的 jar 文件创建一个单独的 jnlp 文件,并从您的 jnlp 文件中读取此 jnlp:

...<extension name="other" href="other.jnlp"/></资源>

这里这里 你可以找到一个例子.

I've been working with web start for a couple years now and have experience with signing the jars and what not. I am taking my first attempt at deploying a RCP app with web start and though I have in fact signed all of the jars with the same certificate I keep getting this error: 'jar resources in jnlp are not signed by the same certificate'

Has anyone else came across this? If so, any ideas on how to fix?

解决方案

When I had similar problems after checking the jars it turned out that some 3rd party jar was signed by someone else.

You should create a separate jnlp file for the jars signed by the other certificate and read this jnlp from your jnlp file:

<resources>
  ...
  <extension name="other" href="other.jnlp"/>
</resources>

Here or here you can find an example.

这篇关于jnlp 中的 jar 资源不是由同一个证书签名的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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