| 1 |
How it was generated: |
| 2 |
|
| 3 |
cfssl gencert -initca root/root-csr.json \ |
| 4 |
| cfssljson -bare root/root-ca |
| 5 |
|
| 6 |
cfssl genkey intermediate/intermediate-csr.json \ |
| 7 |
| cfssljson -bare intermediate/intermediate-ca |
| 8 |
|
| 9 |
cfssl sign -ca root/root-ca.pem \ |
| 10 |
-ca-key root/root-ca-key.pem \ |
| 11 |
-config config.json \ |
| 12 |
-profile intermediate \ |
| 13 |
intermediate/intermediate-ca.csr \ |
| 14 |
| cfssljson -bare intermediate/intermediate-ca |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
cfssl gencert \ |
| 19 |
-ca intermediate/intermediate-ca.pem \ |
| 20 |
-ca-key intermediate/intermediate-ca-key.pem \ |
| 21 |
-config config.json \ |
| 22 |
-profile host \ |
| 23 |
certificates/www.test1.com-csr.json| cfssljson -bare certificates/www.test1.com |