Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 80536bd

Browse files
committed
ENH: refs #442. Resign applet jar with new certificate. Updated related docs.
1 parent ad19919 commit 80536bd

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

core/public/java/uploader/README

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1-
To build MidasUploader, simply execute the build.sh script.
1+
To build MidasUploader, simply execute the build.sh or build.bat script.
22

33
This requires a JDK>1.3, and that the binary files are
44
in your path.
55
It also requires you to have created a Certificate using
6-
the "keytool" supplied with the SUN jdk. The certificate
7-
should be named tstkey.
6+
the "keytool" supplied with the SUN jdk. There is one in the keystore that
7+
is shipped in the Midas repository (see the file kitware!.keystore), but if
8+
it expires you can use the following command to generate a replacement:
9+
10+
keytool -genkey -alias mycert -keypass kitware! -validity 730
11+
12+
That will create a key that is valid for 730 days (2 years). Note that
13+
this key is still not verified by a trusted authority, so a warning will
14+
appear the first time it is loaded.

core/public/java/uploader/build.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ jar cvfm ../dist/MidasUploader.jar ../src/manifest com
88
cd ..
99
cd dist
1010
jarsigner -keystore ../kitware!.keystore MidasUploader.jar mycert
11-
REM del "E:\kitware\Midas\midas\tmp\logs\*.log"
12-
REM del "E:\kitware\MidasData\temp\*.tmp"
11+
1312
cd ..
120 Bytes
Binary file not shown.
-1.29 KB
Binary file not shown.

0 commit comments

Comments
 (0)