Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

How to make Secure Jar file

Tue May 20, 2008 6:28 am

how to make a secure jar file...using jarsigner r any other option....

Thanks,
Kaviurs



Re: How to make Secure Jar file

Tue May 20, 2008 5:06 pm

Hi ,
I found this link :
Code:
http://sf-jarsigner.gforge.inria.fr/alternatives.html


, i hope it is useful

Re: How to make Secure Jar file

Wed May 21, 2008 10:23 am

Thanx 4 ur reply...
other than Jarsigner any other solution.....


Thanks,
Kaviurs

Re: How to make Secure Jar file

Sun May 25, 2008 5:26 pm

Here is the steps :
1. Make sure that you have an SDK 1.4.2 keytool and jarsigner in your path. These tools are located in the SDK bin directory.

2. Create a new key in a new keystore as follows:

keytool -genkey -keystore myKeystore -alias myself

You will get prompted for a information about the new key, such as password, name, etc. This will create the myKeystore file on disk.

3. Then create a self-signed test certificate as follows:

keytool -selfcert -alias myself -keystore myKeystore

This will prompt for the password. Generating the certificate may take a few minutes.

4. Check to make sure that everything is okay. To list the contents of the keystore, use this command:

keytool -list -keystore myKeystore

It should list something like:

Keystore type: jks
Keystore provider: SUN

Your keystore contains 1 entry:

myself, Tue Jan 23 19:29:32 PST 2001, keyEntry,
Certificate fingerprint (MD5):
C2:E9:BF:F9:D3:DF:4C:8F:3C:5F:22:9E:AF:0B:42:9D

5. Finally, sign the JAR file with the test certificate as follows:

jarsigner -keystore myKeystore test.jar myself

Repeat this step with all of your JAR files.

Re: How to make Secure Jar file

Sun May 25, 2008 5:30 pm

Hi again .
Did you hear about advantage of obfuscation in java ?
Code:
http://www.yworks.com/en/products_yguard_about.htm


Re: How to make Secure Jar file

Sun May 25, 2008 5:39 pm

Good topic thanks :gOOd:

Re: How to make Secure Jar file

Mon May 26, 2008 7:19 am

Hi,

Thanx 4 ur reply...

Regards,
Kaviurs

Post a reply
  Related Posts  to : How to make Secure Jar file
 make jar file for mobile     -  
 How to make PHP form data saved into txt file     -  
 Secure forms without using captcha     -  
 Encrypt/Decrypt a file from source file to target file.     -  
 Copy file to file in java code- implementation     -  
 make a banner     -  
 file descriptor vs file pointer     -  
 getting file name of html input file tag using jsp     -  
 make a game using flash     -  
 make abstract class     -  

Topic Tags

Java Basics