Commands for a CMS key database only

-keydb -changepw
Change the password for a CMS key database:
-keydb -changepw -db filename -pw password -new_pw new_password 
    -stash -expire days
-keydb -create
Create a CMS key database:
-keydb -create -db filename -pw password -type cms -expire days -stash
-keydb -stashpw
Stash the password of a CMS key database into a file:
-keydb -stashpw -db filename -pw password
-cert -getdefault
Get the default personal certificate:
-cert -getdefault -db filename -pw password
-cert -modify
Modify a certificate:
Note:
Currently, the only field that can be modified is the Certificate Trust field.
-cert -modify -db filename -pw password -label label 
    -trust enable | disable
-cert -setdefault
Set the default personal certificate:
-cert -setdefault -db filename -pw password -label label