Signing Code with Sun's Java 2
The javakey tool from JDK 1.1 has been replaced by two tools in Java 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.
Java 2 does allow Certificate Authorities to sign generated certificates
Useful command line examples are
keytool -alias keyname -genkey : Generating a public and private key pair and self-signed certificate.
keytool -storepasswd to change password. Note that keystore stores keys, and identity information necessary for certificates protected under a password.