HowTo Install and Test MindTerm Applet

Calvin D. Webster cwebster@ec.rr.com
Thu, 22 May 2003 14:36:49 -0400


To be sure about extending the life of the keys, I re-signed the CAB 
file with:

signcode -j javasign.dll -t 
http://timestamp.verisign.com/scripts/timstamp.dll -jp low -spc 
YourTestCert.spc -k YourKeyName

I'm not sure how long this makes it valid, though.

At any rate, this caused the applet to fail as though it wasn't signed 
at all.

To get it to succeed, I had to rebuild a new cab file from the extracted 
contents of the jar file, then sign the new cab file.

After transferring it to the server to replace the other cab file and 
logging out and back into my workstation, it finally started working again.

---

While I was re-building and re-signing the cab file, I went ahead and 
re-made a new JAR key and re-signed the jar file. To make the key valid 
for 4 years I used:

keytool -alias NewKeyName -validity 1460 -genkey

then, in the jar file dir:

{installdir}\j2sdk1.4.1_02\bin\jarsigner mindterm.jar NewKeyName

I could not use the same keyname as before to update it with a new expiration. I had to create a new key altogether.

--Cal Webster





maf@appgate.com wrote:

> On 21 May, Calvin D. Webster wrote:
>
>> b. Now sign the cab file:
>> signcode -j javasign.dll -jp low -spc YourTestCert.spc -k YourKeyName
>> mindterm.cab
>
>
> To avoid the timestamping warning you can add
> -t http://timestamp.verisign.com/scripts/timstamp.dll
> to the signing command.
>
> /MaF