Re: Using a signed Applet / Javakey. A bug ???

Jan Luehe (luehe@laguna.eng.sun.com)
Mon, 24 Aug 1998 19:06:35 -0700 (PDT)

Date: Mon, 24 Aug 1998 19:06:35 -0700 (PDT)
From: Jan Luehe <luehe@laguna.eng.sun.com>
Subject: Re: Using a signed Applet / Javakey. A bug ???
To: java-security@java.Sun.COM, jdk-comments@java.Sun.COM,

Aldric:

> Actually, I'am trying to sign a Applet (using JavaKey). For this,
> I followed the 'Signed Applet Example'. Thus, first I got a copy of
> Duke's certificate,
> then I used the javakey to create the identity 'Duke' in the
> identitydb.obj file and to import
> Duke's certificate into the database (javakey -c Duke true and javakey
> -ic Duke Duke.X509).
> Nevertheless, when I load the 'signedPluginEx.html', I already obtain
> the "writeFile:caught
> security exception" message and the footmp file into the directory tmp
> isn't created.
> However, the file 'identitydb.obj' is correctly created (in the current
> directory).
> I think that this file must be copied in a particular directory to be
> recognized by Netscape Communicator !
> But the documentation doesn't specify this point.

There is one important step missing in the directions on our
web page:

After you have imported Duke's certificate into your
identity database, you need to exit and restart your browser.

We will document this extra step in the example on our web page.

Thanks for your patience.

Jan