Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sign jar files

 
Raed Qudaisat
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all.
i have been tired searching for this, and i didn't find the answer.

what exactly should i do to sign a jar file? and where to place the signed jar?

i have created a keystore using the keytool and used it in the jarsigner but still i can't read files from the client's system!!!

any one has an answer?

Thanks.
Raed
 
prateek urmaliya
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raed,

Are you building through ant if so you can use signjar task .
I am using it while generating jnlp.
jnlp.work.dir can be replaced with wherever you pick your jars from.

[ January 31, 2007: Message edited by: prateek urmaliya ]
 
Raed Qudaisat
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
thank you very much for your reply.
i am not using the ant tool, i am building the jars with the jar tool. i will give you more details.

-first i am using linux.
-i have built the jar files using

-then i have used the keytool to create the key like this.

it prompted me for the alias password and i made it raedpass.
-then i used the jarsigner tool like this.


that is it, now what i want is to be able to read file from the client system, is that possible?

should i copy the jars to the client machine? or just put them on the server?

Thanks.
Raed
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic