JDK 1.1 - Signed Applet Example

Qi He (qihe@cs.cmu.edu)
Tue, 02 Dec 1997 23:47:42 -0500

Date: Tue, 02 Dec 1997 23:47:42 -0500
From: Qi He <qihe@cs.cmu.edu>
To: java-security@web2.javasoft.com
Subject: JDK 1.1 - Signed Applet Example

hi,

I followed what was said in the web page:

http://java.sun.com/security/signExample/

that is:

1.Get a copy of Duke's certificate and store it in a file named
Duke.x509
2. Create the identity "Duke" in your JDK 1.1 identity database. By
passing the
parameter "true", you're saying that you want Duke to be a trusted
identity.

% javakey -c Duke true
3.Import Duke's certificate into your identity database, assuming you
have a
copy of Duke's certifiate in the file named Duke.x509. Associate that

certificate with the identity "Duke" by using that nickname as the
first
argument to the javakey command.

% javakey -ic Duke Duke.x509

but I was still not be able to run the signed applet successfully. I
kept being
told "writeFile: caught security exception".

Could you tell me what's wrong?

thanks

Qi He