tpm cert add
The tpm cert add action is used to add one or more typeSpec into another.
Usage
tpm cert add [sourceTypeSpec] [targetTypeSpec] [alias] [passwordSpec]
Aliases for
addThe following aliases can also be used for add:
- ad
- import
- im
[sourceTypeSpec]may be either a single argument or a comma-delimited list (no spaces)[alias]is optional and will be assigned the defaults of:tlsfor any source TLS filesmysqlfor any source MySQL cert files
[passwordSpec]is optional and defaults toenv:STORE_PASS
Examples:
shell> tpm cert add mysqlp12 keystore mysql
shell> tpm cert add P12_FILE connector_keystore mysql
shell> tpm cert add tls JKS_FILE -r
shell> tcert add P12,tls JK -r -x
[sourceTypeSpec] and [targetTypeSpec] may not both be batch.
[sourceTypeSpec] for add must be one of specName|shortcut listed below:
CA_DIR|DICA_PEM_FILE|CACERT_PEM_FILE|CEmysqlca|mcmysqlp12|p1P12_FILE|P1TLS_FILE|TLtls_keystore|tl>batch|>b
[targetTypeSpec] for add must be one of specName|shortcut listed below:
JKS_FILE|JKTS_FILE|TSCJKS_FILE|CJCTS_FILE|CTTJKS_FILE|TJTTS_FILE|TTkeystore|jk|ketruststore|ts|trconnector_keystore|cj|ckconnector_truststore|ctthl_keystore|tj|tkthl_truststore|ttbatch|b