Java签署有服务器证书的瓶子 [英] Java Sign jars with server certificate

查看:257
本文介绍了Java签署有服务器证书的瓶子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用服务器证书签署一个java web启动应用程序?我想知道的是如果它会工作。我的服务器有一个受信任的证书,我想重用相同的证书来签名一个应用程序。

Is it possible to use a server certificate to sign a java web start app? What I want to know is if will it work. I have a trusted certificate for my server, and I would like to reuse the same certificate to sign an app.

现在,我有此警告:


签名者证书的ExtendedKeyUsage
扩展不允许代码签名。此jar包含条目,其
签名证书的NetscapeCertType扩展不允许代码
签名。

This jar contains entries whose signer certificate's ExtendedKeyUsage extension doesn't allow code signing. This jar contains entries whose signer certificate's NetscapeCertType extension doesn't allow code signing.

能够启动我的应用程序,而不会出现证书不受信任的警告?

Will I be able to launch my app without the warning that the certificate is not trusted?

推荐答案

代码签名证书。对于大多数CA,代码签名证书的成本高于服务器证书。在我看来,这只是一个营销计划,让你支付另一个证书。两个证书之间没有技术差异。一些CA可以为两者提供组合使用的使用。

You will get warning if you don't use a code signing certificate. For most CA, code signing cert costs more than the server cert. In my opinion, this is just a marketing scheme to make you to pay for another cert. There is no technical difference between two certs. Some CA may provide combo deals with usage for both.

这篇关于Java签署有服务器证书的瓶子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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