Re-generate a CA cert with the CA key and CSR: cfssl gencert -initca -ca-key key CSRJSON
Re-generate a CA cert with the CA key and certificate: cfssl gencert -renewca -ca cert -ca-key key
Arguments: CSRJSON: JSON file containing the request, use '-'for reading JSON from stdin
Flags: -initca=false: initialise new CA -remote="": remote CFSSL server -ca="": CA used tosign the new certificate -- accepts '[file:]fname'or'env:varname' -ca-key="": CA private key -- accepts '[file:]fname'or'env:varname' -config="": path to configuration file -cn="": certificate common name (CN) -hostname="": Hostname for the cert, could bea comma-separated hostnamelist -profile="": signing profileto use -label="": key label to use in remote CFSSL server -loglevel=1: Log level (0 = DEBUG, 5 = FATAL)