local-server/vendor/github.com/cloudflare/cfssl/initca/testdata
Mikaël Cluseau 4d889632f6 vendor
2018-06-17 18:32:44 +11:00
..
5min-ecdsa-key.pem vendor 2018-06-17 18:32:44 +11:00
5min-ecdsa.pem vendor 2018-06-17 18:32:44 +11:00
5min-rsa-key.pem vendor 2018-06-17 18:32:44 +11:00
5min-rsa.pem vendor 2018-06-17 18:32:44 +11:00
ca_csr_ecdsa.json vendor 2018-06-17 18:32:44 +11:00
ca_csr_rsa.json vendor 2018-06-17 18:32:44 +11:00
ecdsa256.csr vendor 2018-06-17 18:32:44 +11:00
ecdsa384.csr vendor 2018-06-17 18:32:44 +11:00
ecdsa521.csr vendor 2018-06-17 18:32:44 +11:00
README.md vendor 2018-06-17 18:32:44 +11:00
rsa2048.csr vendor 2018-06-17 18:32:44 +11:00
rsa3072.csr vendor 2018-06-17 18:32:44 +11:00
rsa4096.csr vendor 2018-06-17 18:32:44 +11:00

  1. To generate 5min-rsa.pem and 5min-rsa-key.pem
$ GOPATH/bin/cfssl gencert -initca ca_csr_rsa.json | GOPATH/bin/cfssljson -bare 5min-rsa
  1. To generate 5min-ecdsa.pem and 5min-ecdsa-key.pem
$ GOPATH/bin/cfssl gencert -initca ca_csr_ecdsa.json | GOPATH/bin/cfssljson -bare 5min-ecdsa

The above commands will generate 5min-rsa.csr and 5min-ecdsa.csr as well, but those files can be ignored.