是否可以免费签署一个Java小程序? [英] Is it possible to sign a java applet for free?

查看:166
本文介绍了是否可以免费签署一个Java小程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个奇怪的小程序,可以让你用你的声音画画。显然它需要访问麦克风,但除非签名,否则不允许Java applet访问。据我所知,它很难并且涉及加密,虽然不清楚,但我认为我也应该向Verisign支付金钱。这一切看起来像很多偏执的创新扼杀了我,我认为我不是第一个这么认为的人。

I made a weird applet which allows you to paint with your voice. Obviously it requires access to the microphone, but Java applets are not allowed access unless they are signed. As far as I can tell its difficult and involves cryptography, and, though its not clear, I think that I'm expected to pay MONEY to Verisign as well. This all seems like a lot of paranoid innovation stifling bullsh** to me and I figure I'm not the first person to think so.

有没有办法绕过这个用于教育或测试目的?或者可能在我的浏览器中关闭安全性?或免费签署小程序?

Is there just some way to bypass this "for educational or testing purposes?" or maybe turn off the security in my browser? or sign the applet for free?

我在Ubuntu 9.04上使用Firefox 3.0.15和Java 1.6.0

I'm on Ubuntu 9.04 with Firefox 3.0.15 and Java 1.6.0

推荐答案

您可以更进一步,使用 OpenSSL 设置您自己的CA. 。

You may go one step further and setup your own CA with OpenSSL.

这将允许您创建自己的根证书并生成任意数量的签名或SSL证书。然后,您可以将根证书分发给您的朋友,并要求他们将其安装在各自的浏览器中。之后,您的CA创建的证书证书链将始终有效且不会自签名(许多浏览器会查看自签名证书)。

This will allow you to create your own root certificate and generate any number of signing or SSL sertificates. You may then distribute your root certificate to your friends and ask them to install it in their respective browsers. After that the certificate chain for certificates create by your CA will always be valid and not self-signed ( many browsers look down on self-signed certs ).

如果您是要使用OpenSSL CA,您可能需要 pkeytool 将私钥导入java密钥库文件。

If you are going to work with OpenSSL CA you may need pkeytool to import private key into java keystore file.

这篇关于是否可以免费签署一个Java小程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆