Results 1 to 3 of 3
  1. #1
    bazianm is offline Member
    Join Date
    Dec 2013
    Posts
    1
    Rep Power
    0

    Default Digitally Sign .class

    Hi everyone,

    Please forgive what is undoubtedly a stupid question but I have never worked with Java before and know nothing about it (I am a programmer in other technologies [php, javascript, vb, vfp, sql, etc). I have a client that has a website with uses a javascript .class file as an applet. It has worked fine until he upgraded his server (Win 2k8) and now all users get a security warning when they get to the site. The guy who wrote the .class for him is no longer around and he has asked me to figure this out.

    I have found the jd project so I can decompile the .class. Obviously, I would have to get a code signing certificate and he is willing to purchase that.

    That's as far as I know about this. I am guessing I have to recompile the code but I do not even know what I need to do that let alone how to sign the code with the cert.

    Can someone point me in the right direction with this, please?

    Thanks in advance

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,993
    Rep Power
    9

    Default Re: Digitally Sign .class

    Might want to check out this handy guide: https://www.java.net//blog/kirillcoo...g_jars_fo.html

    Although I doubt this is caused by updating his server. That warning happens entirely on the client side, so I don't see how changing something on the server would effect it.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,104
    Rep Power
    6

    Default Re: Digitally Sign .class

    Indeed. This problem will likely happen when the clients update their Java installation. in the latest patch releases the security has been tightened very severely.

    Of course it may also happen when there already was a cert that expired at EXACTLY the same time as the server upgrade :)
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. equals sign
    By therealyacek in forum New To Java
    Replies: 5
    Last Post: 10-04-2012, 10:10 AM
  2. Replies: 0
    Last Post: 01-18-2012, 02:49 PM
  3. the @sign
    By dinosoep in forum New To Java
    Replies: 2
    Last Post: 03-28-2010, 11:07 AM
  4. sign finder
    By iPetey in forum New To Java
    Replies: 6
    Last Post: 05-01-2009, 05:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •