A problem for Signed Applet Example

gaofeng (gaofeng@tech.singalab.com.sg)
Tue, 07 Oct 1997 16:20:17 +0800

Message-Id: <3439F0C1.6D37@tech.singalab.com.sg>
Date: Tue, 07 Oct 1997 16:20:17 +0800
From: gaofeng <gaofeng@tech.singalab.com.sg>
To: java-security@web2.javasoft.com
Subject: A problem for Signed Applet Example

Hi,

I tried the example by following each steps described in
http://java.sun.com/security/signExample. It's OK.

But when I tryied to do it by myself according the "doit"
scipt, it was fail. Why?

I download files: writeFile.java, writeFile.html,
signedWriteFile.html, cert_directive_Duke,
sign_directive_Duke and finished step 1 to step 6
successfully. But when I using appletviewer in another
PC to execute this signed applet, it still give the
message "writeFile caught security exception".
( I copied file Duke.x509 generated and used command
"javakey -c Duke true" & "javakey -ic Duke Duke.x509"
successful on this machine )

I use windows 95 and JDK1.1.4 on my machines. Can you
tell me what is the problem? I saw some similar problem
in th question list, but nobody answer it. I hope to
get your anwser soon.

Thanks!

Best Regard

Gao Feng