Pages

Sunday, September 2, 2007

The point about certificates and signing

If you ever tried to use BitLet, you should have encountered a window that says you that the signature of the applet cannot be verified (see the screenshot below).




Since some users appear to be quite puzzled about what is the exact meaning of that message, we will try to shed some light on this issue.

Let's start from the beginning...
In order to protect users from malicious applets, the JVM (Java Virtual Machine) considers the code of applets that are embedded in web pages to be untrusted, and it is executed in a sort of sandbox, which prevents it from executing any action that could (possibly) harm the client system.

This means that, by default, common Java applets are not allowed to perform some tasks, including opening network connections to other servers or to access the filesystem of the client machine on which they are running.

Obviously, any bittorrent client (including BitLet) needs to perform both those operations to be of some use, even without intending to do any harm.

In order to overcome this problem, the applet is digitally signed, i.e. it is signed using a digital certificate that ensures that the applet comes from the certificate holder.

This brings us back to the first line of this post. You are seeing that annoying message because the certificate used to sign BitLet is not issued by a trusted Certificate Authority. Actually, it was generated on a common development box. Why?

Because code signing certificates cost. And they cost a lot of money, too.

If you know any CA that issues that kind of certificates without charging outrageously high prices, don't hesitate to let us know or drop us a line in the comments.

39 comments:

  1. WOW!! Ilke this Site :D

    Is there any way i can save the files in my server. Like i will put the ftp url/user name, password and it will start saving it in my ftp server?

    thanx
    Shuvo.

    ReplyDelete
  2. Hello xxx, I think that what you're looking for is quite different from bitlet. Take a look here, it could be a more suitable option for your needs.

    ReplyDelete
  3. Maybe CACert works, i was trying to find how to request a free certificate for software (i use it for e-mail), i remember that option was on the site. Anyway, CACert is not in the default trusted roots for the official Java Virtual Machine, so the message of untrusted source will still appears.
    Maybe looking in the "Security" tab of the Java applet in the Windows control panel (or the binary ControlPanel on /usr/java/ in Linux) there's a list of the default trusted roots for Signing Certificates. I hope one of them have to be free.

    ReplyDelete
  4. I accidently press No to accepting the certificate. How can I get the certificate now as can't seem to get the message anymore.

    Please help.
    Thanks

    ReplyDelete
  5. thawte have certificates for applets which are free, and are widely used.

    instructions here:

    http://www.dallaway.com/acad/webstart/

    (instructions are for webstart but a signed jar using the same procedure will work as a signed applet)

    you should consider providing a webstart client as well - would be useful for longer lived torrents.

    ReplyDelete
  6. Thank you very much rhyd for your advice.

    As you can see, we updated the certificate and now we are using the thawte one.

    The webstart client would be a great option.
    We already considered that, and we hope we'll find time to develop it in the future.

    Regards,

    Daniele

    ReplyDelete
  7. Seria muito bom também que pudessemos baixar torrents através dos arquivos torrents, e não somente pela suas respectivas URLs. Seria interessante

    ReplyDelete
  8. Hello, I just wanted to say that your blog has been really useful for me..
    I need all the help I can get, lol.. Thnx

    ReplyDelete
  9. eat post! I am actually getting ready to across this information, is very helpful. Keep up the good work you are doing here.
    Java Training in Chennai | Java Training Institute in Chennai

    ReplyDelete
  10. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    industrial safety course in chennai

    ReplyDelete
  11. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    safety course in chennai

    ReplyDelete
  12. All the points you described so beautiful. Every time i read your i blog and i am so surprised that how you can write so well.
    Selenium training in Chennai

    Selenium training in Bangalore

    ReplyDelete
  13. The post is written in very a good manner and it entails many useful information for me. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept.

    Oracle Training in chennai
    web designing training in chennai
    web designing training in chennai | angularjs training in chennai
    sas training institute in chennai
    software testing training in chennai

    ReplyDelete
  14. Thanks for sharing such informative post. Keep on sharing such informative post. Buy E Cigarette Melbourne from leading online Store.

    ReplyDelete
  15. I sat at home and heard the screams of joy from my son's room. I decided to peep that there, and he played in an online casino. Of course, I got angry, but he quickly reassured me and showed everything on this website. novel best online casino He won money twice as much as he put a lot of slot machines, slots and all that, now we sit together

    ReplyDelete
  16. bsnl speedtest
    BSNL Speed Test:- Today the high-speed internet is considered as the most important requirement of an internet connection. It ensure comfort Bsnl speedtest.

    ReplyDelete
  17. Jeewangarg is the Best SEO Company in Delhi providing FREE site auditing along with the most reasonable Professional SEO services to top all searches, increase organic visibility, promote business, increase audience, and make instant sales.

    ReplyDelete
  18. Such an interesrting and essential topic that everyone should know this. for home PipeLine Leakage repair solution. Visit the site Pipeline Leak Detection to know more about Pipeline Leak Detection Service Provider in India.

    ReplyDelete
  19. I am happy for sharing on this blog its awesome blog I really impressed. thanks for sharing.

    Learn SAP Training from the Industry Experts we bridge the gap between the need of the industry. Softgen Infotech provide the Best SAP ABAP Training in Bangalore with 100% Placement Assistance. Book a Free Demo Today.

    ReplyDelete
  20. Really i appreciate the effort you made to share the knowledge. The topic here i found was really effective...

    Looking for SAP HANA ADMIN Training in Bangalore, learn from eTechno Soft Solutions SAP HANA ADMIN Training on online training and classroom training. Join today!

    ReplyDelete
  21. Very nice post here thanks for it I always like and search such topics. Helpful piece of information. I am satisfied that you simply shared this helpful information with us.

    https://www.cetpainfotech.com/technolgy/summer-training-for-engineering-students

    ReplyDelete

Note: Only a member of this blog may post a comment.