Java 小应用程序SSL/证书

发布于 2024-10-08 20:44:43 字数 318 浏览 1 评论 0原文

我的网站使用 SSL 并在登录后将它们直接带到 Java 小程序。该小程序会显示一个警告屏幕,声明无法验证该网站的证书。单击“是”继续后,会出现第二个弹出窗口:

需要身份证明。请选择用于身份验证的证书。

在该消息下方,有一个白框,我认为应该列出证书选项。我的没有任何选项,所以我被迫单击“确定”,并且小程序无法加载。

网站的证书安装在浏览器上。我还通过右键单击 Windows 任务栏中的 Java 图标,单击“打开控制面板”并通过安全选项安装它们来安装它们。

似乎什么都不起作用。有人有什么想法吗?

My website uses SSL and takes them directly to a Java applet after login. The applet yields a warning screen proclaiming that the website's certificate can't be verified. After clicking "Yes" to continue anyway, a second pop up appears with:

Identification required. Please select certificate to be used for authentication.

Underneath that message, there is a white box that I assume is supposed to list certificate options. Mine doesn't have any options, so I am forced to click "OK" and the applet doesn't load.

The certificates for the website are installed on the browser. I also installed them by right-clicking on the Java icon within the Windows task bar, clicking "Open Control Panel" and installing them through the Security options.

Nothing seems to work. Does anyone have any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

絕版丫頭 2024-10-15 20:44:43

您将 Tomcat 或任何配置为请求或需要 SSL 客户端证书。两者在客户端的效果是相同的:传入的证书请求。所以它弹出第二个对话框。如果您取消并且是“请求”而不是“要求”,则小程序应该加载。

最近,我在小程序和 HTTPS 方面遇到了许多问题,包括看起来像 Java 插件错误的问题,并得出结论,答案实际上是通过 HTTP 以明文形式加载它们。

第一个对话框应通过不使用自签名 SSL 证书来修复。

You have your Tomcat or whatever configured to request or require SSL client certificates. The effect at the client is the same for both: an incoming CertificateRequest. So it pops up the 2nd dialog. If you cancel and it is 'request' not 'require', the applet should load.

I have had numerous problems with applets and HTTPS recently, including what look like Java plugin bugs, and have concluded that the answer is really to load them via HTTP in plaintext.

The first dialog should be fixed by not using a self-signed SSL certificate.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文