Jarsign » History » Version 4
Anonymous, 08/27/2008 04:07 PM
Sign JAR using correct keystore
1 | 1 | Anonymous | |
---|---|---|---|
2 | 4 | Anonymous | h1. Create Signed JAR Files |
3 | 2 | Anonymous | |
4 | 1 | Anonymous | |
5 | 1 | Anonymous | |
6 | 4 | Anonymous | h2. Create a JAR Archive |
7 | 1 | Anonymous | |
8 | 4 | Anonymous | For a comprehensive tutorial on how to create JAR files, see "Additionally, Eclipse can create JAR files for you by Exporting to JAR. |
9 | 4 | Anonymous | |
10 | 4 | Anonymous | |
11 | 4 | Anonymous | |
12 | 4 | Anonymous | h2. Sign the JAR Archive |
13 | 4 | Anonymous | |
14 | 4 | Anonymous | For a comprehensive tutorial on how to sign JAR files, see [http://java.sun.com/docs/books/tutorial/deployment/jar/signindex.html":http://java.sun.com/docs/books/tutorial/deployment/jar/index.html].. |
15 | 4 | Anonymous | |
16 | 4 | Anonymous | |
17 | 4 | Anonymous | Follow these steps in order to sign _ProCKSI-Viz.jar_: |
18 | 4 | Anonymous | * Check out _ProCKSI-Workbench/trunk_ if not already done |
19 | 4 | Anonymous | * Change to the _applets_ directory |
20 | 4 | Anonymous | * Sign the JAR (at least java 1.6.0): _jarsigner -keystore [[ProCKSI]]-Keystore [[ProCKSI]]-Viz.jar [[ProCKSI]]_ |
21 | 4 | Anonymous | * You will be asked for a password: (see [[secretAuthentication]]) |
22 | 4 | Anonymous | * The JAR is signed now with the right [[ProCKSI]]-Viz credentials |
23 | 4 | Anonymous | * The signed JAR will replace the unsigned one. |
24 | 4 | Anonymous | * Check in the signed JAR |