Use the commands in this section to define default certificate attributes.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Define the default value:
hostname (config) # crypto certificate generation default <attribute> <value>Repeat the previous step for each attribute you want to change.
Save your changes.
hostname (config) # write memory(Optional) Regenerate the certificates to apply the updated attributes:
hostname (config) # crypto certificate name <certificateName> regenerate
Example
This example changes the organizational unit to Information Technology. It then regenerates the web-cert certificate to apply the updated attribute value, and displays the certificate to verify the change.
hostname (config) # crypto certificate generation default org-unit "Information Technology" hostname (config) # crypto certificate name web-cert regenerate Successfully regenerated certificate with name 'web cert' hostname (config) # show crypto certificate name web-cert