20 lines
413 B
Makefile
20 lines
413 B
Makefile
|
STEPPATH ?= ./step_path
|
||
|
|
||
|
.PHONY: bootstrap
|
||
|
bootstrap: $(STEPPATH)/config/ca.json
|
||
|
|
||
|
$(STEPPATH)/config/ca.json:
|
||
|
env STEPPATH=$(STEPPATH) \
|
||
|
step ca init \
|
||
|
--ssh \
|
||
|
--deployment-type standalone \
|
||
|
--name TheFij \
|
||
|
--dns ca.thefij.rocks \
|
||
|
--address 0.0.0.0:9443 \
|
||
|
--provisioner ian@iamthefij.com
|
||
|
|
||
|
.PHONY: run
|
||
|
run: $(STEPPATH)/config/ca.json
|
||
|
env STEPPATH=$(STEPPATH) \
|
||
|
step-ca $(STEPPATH)/config/ca.json
|