phpca is a command line utility to create and manage a simple Certificate Authority for use with Apache's mod_ssl.
./phpca <command> [<server> | "ca"]