# Re: JDK 1.1 - Signed Applet Example

Gigi Ankeny (Gigi.Ankeny@Eng)
Wed, 3 Dec 1997 09:34:47 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Seiji Fujii: "International JCE ?"
- Previous message: Anup Chandrakeerthi: "Importing certificates"
- Maybe in reply to: Qi He: "JDK 1.1 - Signed Applet Example"

    Date: Wed, 3 Dec 1997 09:34:47 -0800 (PST)

    From: Gigi Ankeny <Gigi.Ankeny@Eng>

    Subject: Re: JDK 1.1 - Signed Applet Example

    To: java-security@web2.javasoft.com, qihe@cs.cmu.edu

Qi,

Are you trying in a Netscape browser? If so, then you will get the
security exception because Netscape could not verify the signedWriteFile.jar,
which was generated by javakey.

There could be many other reasons as well. For example, the jar file
was not downloaded using binary format and thus the file contents is screwed up.

Anyhow, You can check the security Q & A for such kind of questions.
It is at: http://java.sun.com/security

Hope it helps,

Gigi Ankeny

>
> 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
>

- Next message: Seiji Fujii: "International JCE ?"
- Previous message: Anup Chandrakeerthi: "Importing certificates"
- Maybe in reply to: Qi He: "JDK 1.1 - Signed Applet Example"