You can use the certadmin script to do the following certificate administration tasks:
Generating Self-Signed Certificates
Generating a Certificate Signing Request (CSR)
Adding a Root CA Certificate
Installing a Certificate from a CA
Deleting a Certificate
Modifying the Trust Attributes of a Certificate
Listing Root CA Certificates
Listing All Certificates
Printing a Certificate