Skip to main content
Common Reference

tpm cert rotate

The tpm cert rotate action is used to replace an existing entry with one from another file.

This has the same effect as executing tpm cert add -f

Usage
tpm cert rotate [sourceTypeSpec] [targetTypeSpec] [alias] [passwordSpec]
Aliases for rotate

The following aliases can also be used for rotate:

  • ro
  • swap
  • sw

For the list of available `[typeSpec]' for this action, see tpm cert add

Examples:

shell> tpm cert rotate mysqlp12 keystore mysql
shell> tpm cert rotate P12_FILE connector_keystore mysql
shell> tpm cert ro tls thl_keystore
shell> tpm cert ro CA_DIR connector_keystore,connector_truststore
shell> tpm cert ro CA_DIR CJ,CT -x