已签名未签名的 Applet/Java Web Start、套接字连接?
我一直在为特定的客户端/服务器产品 (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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自此处 (自签名)
keytool -genkey -keystore myKeyStore -alias me
keytool -selfcert -keystore myKeyStore -alias me
jarsigner -keystore myKeyStore jarfile.jar me
>From here (self-signing)
keytool -genkey -keystore myKeyStore -alias me
keytool -selfcert -keystore myKeyStore -alias me
jarsigner -keystore myKeyStore jarfile.jar me