$ cfssl gencert -initca ca_csr_rsa.json | cfssljson -bare 5min-rsa
$ cfssl gencert -initca ca_csr_ecdsa.json | cfssljson -bare 5min-ecdsa
The above commands will generate 5min-rsa.csr and 5min-ecdsa.csr as well, but those files can be ignored.