blob: 4d94160d88552a1136e98b3c91bc031810fbc4ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Small step
## Installation
```bash
$ brew install step
$ step certificate inspect https://eff.org
```
## Workstation Setup
Install the c0 CA on to your computer.
```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.
```
```bash
モ step certificate install $(step path)/certs/root_ca.crt
```
## Developer Setup
Generate a new certificate for local development. Note: You will need to allow
incoming connections via tailscale preferences.
```bash
$ step ca certificate localhost /tmp/localhost.crt /tmp/localhost.key
```
* [cli installation](https://smallstep.com/docs/step-cli/installation)
## Certificate Authority
```bash
$ step ca init
$ step ca provisioner add acme --type ACME
$ step-ca $(step path)/config/ca.json # start server
```
```bash
$ curl https://<ca-server>/provisioners
```
* https://cmdzero.slite.com/app/docs/kaUU2wHC2f7Py7
|