Basic HTML version of Foils prepared May 19 99

Foil 85 Signing Code with Sun's Java 2

From Remarks on Internet and Java Security Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Geoffrey Fox, Mehmet Sen


1 The javakey tool from JDK 1.1 has been replaced by two tools in Java 2.
2 keytool manages keys and certificates in a database. jarsigner is responsible for signing and verifying JAR files. The keystore, that contains certificate and key information, replaces the identitydb.obj from JDK 1.1.
3 Java 2 does allow Certificate Authorities to sign generated certificates
4 Useful command line examples are
5 keytool -alias keyname -genkey : Generating a public and private key pair and self-signed certificate.
6 keytool -storepasswd to change password. Note that keystore stores keys, and identity information necessary for certificates protected under a password.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 19 1999