diff options
| author | mo khan <mo@mokhan.ca> | 2022-06-01 11:30:51 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2022-06-01 11:30:51 -0600 |
| commit | 9836083ddce1c38474bac102f5c6c62b21a525e4 (patch) | |
| tree | a2d0325256923c106371d70c70ff3f60ca08bc7f | |
| parent | 579aeadb27dcdead36085885c707e46392e36652 (diff) | |
docs: add notes on generating a dev certificate via the internal c0 CA
| -rw-r--r-- | learn/smallstep/README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/learn/smallstep/README.md b/learn/smallstep/README.md new file mode 100644 index 0000000..231660b --- /dev/null +++ b/learn/smallstep/README.md @@ -0,0 +1,24 @@ +# Small step + +## Installation + +```bash +$ brew install step +$ step certificate inspect https://eff.org +``` + +Register c0 CA + +```bash +モ step ca bootstrap --ca-url https://ca.core.c0 --fingerprint e3c8e199280a8db274fc5e7117e33fe9963e8eba1d18fdfed92c25ceb217f05a +The root certificate has been saved in /Users/xlgmokha/.step/certs/root_ca.crt. +The authority configuration has been saved in /Users/xlgmokha/.step/config/defaults.json. +``` + +Generate a new certificate for local development. + +```bash +$ step ca certificate localhost /tmp/localhost.crt /tmp/localhost.key +``` + +* [cli installation](https://smallstep.com/docs/step-cli/installation) |
