本文介绍了Jnlp 给出认证错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经生成了密钥库及其内部密钥.然后我有了我签名的java小程序.但是每次启动 jnlp 小程序时,我都可以看到 Internet 浏览器安全警告对话框.当应用服务器和客户端机器在同一个网络时,对话框中显示Publisher: MyCompanyName",但是当我们从internet访问应用程序时,它显示Publisher: UNKNOWN".

I have generated the keystore and its inner key. Then I have my signed java applet. But each time I start my jnlp applet I can see the Internet browser security Warning dialog. When the application server and the client machine are in the same network , in the dialog box shows "Publisher: MyCompanyName "but when we access the application form the internet,it shows that "Publisher: UNKNOWN".

任何人都可以让我知道这个问题的原因.任何帮助将不胜感激.

Anyone could let me know what the cause of this problem.Any help would be greatly appreciated.

推荐答案

您的数字证书是您通过在 SDK 工具的提示中输入详细信息创建的,对吗?它不是由验证这些身份详细信息的证书颁发机构制作的.

Your digital certificate was created by you by typing details into prompts from the SDK tools, right? It was not produced by a certification authority that verified those identity details.

您创建的证书的问题在于,我或其他任何人都可以冒充您.正是出于这个原因,JRE 拒绝确定您声称的身份 - 这些信息毫无价值.

The problem with the certificate you created is that I, or anyone else, could pretend to be you. It is for that reason that the JRE refuses to identify who you claim to be - the information is worthless.

修复很简单.获取已由认可机构之一验证的证书,并使用该证书对代码进行签名.

The fix is simple. Get a certificate that has been verified by one of the recognized authorities, and sign the code using that certificate.

这篇关于Jnlp 给出认证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 05:09