Results 1 to 3 of 3
  1. #1
    Laser123 is offline Member
    Join Date
    Jul 2014
    Posts
    2
    Rep Power
    0

    Question Signing .jar files for a Website

    I am currently trying to update a few java applets for a website. As of right now, the applets are automatically
    blocked on all computers when they are accessed because the newest updates
    for Java have caused them to be blocked. I have determined that the
    solution to this is to resign the .jar files that are used to run the
    application with a new certificate.

    I requested and received a certificate (in pkcs 12 format, a .p12 file), imported it into
    the computer, and used it to sign the .jar files. However, I have been
    getting an error after signing the .jar files stating that the full
    certificate chain of the code signing certificate is not valid.

    I am not sure what to do from here. I've done a lot of internet
    searching for a solution but haven't really found anything that applies to
    our exact scenario. Prior to working on this project for work, I have never had any experience with this kind of thing
    I contacted someone in the IT department at the University at which I work and he thought that maybe one of the intermediates within the certificate was either missing or illegitimate.
    He suggested that I try this in the command window:

    openssl pkcs12 -nodes -nokeys < your_cert_file.p12

    When I did this, it spit back a bunch of random characters between the header "Begin Certificate" and the footer "End Certificate". I would really like to get the website up and running again
    and I appreciate any help you can offer.

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: Signing .jar files for a Website

    Quote Originally Posted by Laser123 View Post
    When I did this, it spit back a bunch of random characters between the header "Begin Certificate" and the footer "End Certificate". I would really like to get the website up and running again
    and I appreciate any help you can offer.
    So... how did that lead you to creating this thread? If the certificate is encrypted, which I suspect it is, then this is expected behavior. Give the guy a call back I'd say and let him explain his reasons. WHY did he instruct you to execute this command?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    Laser123 is offline Member
    Join Date
    Jul 2014
    Posts
    2
    Rep Power
    0

    Default Re: Signing .jar files for a Website

    I don't really know much of anything about this stuff, but I don't really think that command was useful at all. The technician that I contacted told me that he didn't really know the answer to why the files couldn't be signed...he told me to post to a forum or something.
    Anyways, what I'm still trying to figure out is:
    -how can I successfully sign my jar files?
    -how can I get the java applets to work on the website without being blocked by Java security?

Similar Threads

  1. How do I put these two java files on a website?
    By goku4eternity in forum New To Java
    Replies: 10
    Last Post: 02-27-2012, 11:20 AM
  2. Download Files From A Website
    By anthropamorphic in forum Networking
    Replies: 3
    Last Post: 10-28-2011, 03:45 AM
  3. Replies: 4
    Last Post: 07-02-2011, 03:28 AM
  4. N00b questions - downloading files from a website
    By iflyboats in forum Networking
    Replies: 1
    Last Post: 05-28-2011, 05:30 PM
  5. running .class files on a website
    By jklsemicolon in forum Networking
    Replies: 10
    Last Post: 08-08-2008, 06:21 AM

Tags for this Thread

Posting Permissions

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