已签名未签名的 Applet/Java Web Start、套接字连接?

发布于 2024-08-12 20:54:19 字数 506 浏览 2 评论 0原文

我一直在为特定的客户端/服务器产品 (COTS) 开发一个测试框架,该框架公开 XML 请求和请求。通过原始 IP 套接字进行响应。

我已经能够在 PHP 应用程序中开发我的测试框架并取得良好的结果,但我的愿望是使测试框架易于移植。当然,VMWare 映像“足够”可移植,但对某些人来说却令人头疼。 (获取并注册VMWare Player等。)

所以我的想法是编写一个Java Applet / Java Web Start来在用户本地网络环境中运行测试框架。网站将为 applet/jnlp 提供服务,并在桌面上执行,指向服务器 IP/端口并运行测试套件。收集结果并显示给用户。

我以前没有开发过 applet 或 Java Web Start 项目,但我认为它非常简单。有一件事确实引起了人们的关注,那就是签名和签名的套接字连接问题。未签名的小程序。其他回答的问题说你不能建立套接字连接,除非它到原始服务器(?)。在这种情况下,如何对其应用程序 applet/java web start 进行签名?证书提供商等是谁?

-以色列

I have been developing a test framework for a particular client/server product (COTS) that exposes XML requests & responses via a raw ip socket.

I have been able to develop my test framework in a PHP application with good results, but my desire is to make the test framework easily portable. Sure a VMWare image is portable 'enough' but a headache for some. (Get & Register VMWare Player, etc,.)

So my idea was to write a Java Applet / Java Web Start to run the test framework in the users local network environment. A website would serve the applet/jnlp and would execute on a desktop, point to a server IP/port and run the test suite. Gather the results and display to the user.

I haven't developed an applet before or a Java Web Start project, but I figure its pretty straightforward. One thing did become a concern was the issue of Socket Connections for Signed & Unsigned applets. Other answered questions say you cannot make socket connections unless its to the originating server(?). In that case how does one sign their application applet/java web start? Who are the certificate providers etc,.?

-Israel

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

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

发布评论

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

评论(1

只涨不跌 2024-08-19 20:54:19

来自此处 (自签名)

  1. keytool -genkey -keystore myKeyStore -alias me

  2. keytool -selfcert -keystore myKeyStore -alias me

  3. jarsigner -keystore myKeyStore jarfile.jar me >

From here (self-signing)

  1. keytool -genkey -keystore myKeyStore -alias me

  2. keytool -selfcert -keystore myKeyStore -alias me

  3. jarsigner -keystore myKeyStore jarfile.jar me

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