Home

 

Commands for a CMS key database only

 

–keydb –changepw

Change the password for a CMS key database:

Using the gsk7cmd and runmqckm commands:

-keydb -changepw -db filename -pw password -new_pw new_password 
    -expire days -stash

Using the gsk7capicmd command:

-keydb -changepw -db filename -pw password -new_pw new_password 
    -expire days -stash -fips -strong

–keydb –create

Create a CMS key database:

Using the gsk7cmd and runmqckm commands:

-keydb -create -db filename -pw password -type cms -expire days -stash

Using the gsk7capicmd command:

-keydb -create -db filename -pw password -type cms -expire days -stash
    -fips -strong

–keydb –stashpw

Stash the password of a CMS key database into a file:

Using the gsk7cmd and runmqckm commands:

-keydb -stashpw -db filename -pw password

Using the gsk7capicmd command:

-keydb -stashpw -db filename -pw password -fips

–cert –getdefault

Get the default personal certificate:

Using the gsk7cmd and runmqckm commands:

-cert -getdefault -db filename -pw password

Using the gsk7capicmd command:

-cert -getdefault -db filename -pw password -fips

–cert –modify

Modify a certificate.

Currently, the only field that can be modified is the Certificate Trust field.

Using the gsk7cmd and runmqckm commands:

-cert -modify -db filename -pw password -label label 
    -trust enable | disable

Using the gsk7capicmd command:

-cert -modify -db filename -pw password -label label 
    -trust enable | disable -fips

–cert –setdefault

Set the default personal certificate:

Using the gsk7cmd and runmqckm commands:

-cert -setdefault -db filename -pw password -label label

Using the gsk7capicmd command:

-cert -setdefault -db filename -pw password -label label -fips

 

Parent topic:

gsk7cmd, runmqckm, and gsk7capicmd commands


fa16140_


 

Home