如何使机器信任自签名Java应用程序 [英] How to make a machine trust a self-signed Java application
问题描述
我正在使用 JAWS 部署应用程式,并且一直运作到2013年年底,当时我收到警告,然后今天早上Java完全阻止了它。法语讯息为:
Vosparamètresdesécuritéontbloquél'exécutiond'une application auto-signéeavec une version obsolete ouarrivéeàexpiration de Java。
大致翻译为:
安全设置阻止的应用
您的安全设置已阻止运行已使用过时或过时的Java进行自签名的应用程序。
语法不清楚,该句子可以读为:
- ...阻止自签名应用程序使用过时或过时的Java运行[运行时] ,这意味着本地运行时太老了,但自我签名很好。
- ...阻止了已经自签名的应用程序包含过时或过时的Java [编译器] ,表示所使用的Java编译器太旧了
在英语中完全相同的消息,但我找不到它。所以语法仍然不清楚。请注意,在消息上没有名称:xyz / From:http:// url /
,只有我在上面键入的文本和一个蓝色的i图标。
现在,我不太明白此错误讯息的确切含义,但我知道有一个问题,因为我的 JAR 文件都是自签名的。我已经在其他Windows客户端面对这一点,很容易:
- 我提取了一个
.cer
我的密钥库中的证书;
- 在客户端计算机上下载它,打开它;
- ...blocked a self-signed application from running with an obsolete or outdated Java [runtime], meaning that the local runtime is too old, but the self-signature is fine
- ...blocked an application that has been self-signed with an obsolete or outdated Java [compiler], meaning that the Java compiler used is too old
- I extracted a
.cer
certificate from my keystore; - Downloaded it on the client machine, open it;
- Made the customers install it as a trusted source on their local machine.
它在我的测试设置和一个客户上都是一个魅力,但另一个仍然有问题并且无法运行我的软件。
这是我的一个大问题,我不知道该怎么办。我应该升级我的Java编译器,重新编译一切,每个JAR文件重新签名和交叉手指?
只是转到* Startmenu >> Java >> 配置Java >> 安全 >> 编辑网站列表 >> 复制并粘贴问题链接 >> 确定
修复问题:) *
I'm deploying an application using JAWS, and it worked until late 2013 when I got a warning, and then this morning Java completely blocked it. The message in French is:
Application bloquée par les paramètres de sécurité
Vos paramètres de sécurité ont bloqué l'exécution d'une application auto-signée avec une version obsolete ou arrivée à expiration de Java.
which would translate roughly as:
Application blocked by the security settings
Your security settings have blocked from running an application that has been self-signed with an obsolete or outdated Java.
The grammar is not that clear, the end of the sentence could be read as either:
I searched online for the exact same message in English, but I couldn't find it. So the grammar is still unclear. Note that on the message there is no Name: xyz / From: http://url/
, there's only the text I typed above, and a blue "i" icon.
Now, I don't really understand the exact meaning of this error message, but I know that there is an issue because my JAR files are all self-signed. I have already faced this on other Windows clients, and it was easy:
It worked like a charm on my test setup and for one customer, but another one still has the issue and cannot run my software.
This is a big issue from me, and I don't know what to do. Should I upgrade my Java compiler, recompile everything, sign every JAR file again and cross fingers? How can I make that Windows box trust my certificate and let the Java application run?
Just Go To *Startmenu >>Java >>Configure Java >> Security >> Edit site list >> copy and paste your Link with problem >> OK Problem fixed :)*
这篇关于如何使机器信任自签名Java应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!