You can use keytool t
o set up and work with digital certificates. keytool
ships with the J2SE software and enables you to administer public/private key pairs and associated certificates. It also enables users to cache the public keys (in the form of certificates) of their communicating peers.
To run keytool, you must have configured your shell environment properly such that the path refers to the J2SE /bin
directory. For more information on keytool, see the keytool documentation at:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/keytool.html