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

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

问题描述

我已经开始使用web start几年了,并且有签署罐子的经验,但是没有。我正在第一次尝试使用Web start部署RCP应用程序,虽然我实际上已经使用相同的证书签署了所有的jar,但我仍然收到此错误:'jnlp中的jar资源未使用相同的证书签名'

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.

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

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>

这里此处你可以找个例子。

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

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