<> wrote in message
news: oups.com...
> Thanks Dag Sunde for the help.
>
> ok i've signed other applets but this one isnt working.
>
> either something isnt working or im forgetting something...
>
> i gotta jar my class..
> jar cvf quiz.jar quiz.class
>
> then run my key tool...
> keytool -genkey -alias quiz -validity 365
> then enter all my info
Hmmm... It is a long time since I used a self-signed
certificate, and I've never used keytool.
But as far as I remember you have to create
a "root" certificate, and import that so you become
your own CA.
Then you use that CA-certificate to create and sign your
code-signing certificate.
Only now, you have a certificate you can use to sign your jar.
The command line I use to create and sign a jar file in one shot is
like this:
signtool -k"My CommonName" -d. -Z"jarfilename.jar" -p"mypwd" signdir
I have alway used OpenSSL to create self-signed server certificates,
not code-signing. I use a commercial Verisign certificate for that.
Anyway, here's the process for OpenSSL:
http://www.dylanbeattie.net/docs/ope...ssl_howto.html
Maybe you can get something from that...
--
Dag.