weather/Makefile

10 lines
340 B
Makefile
Raw Normal View History

2021-02-25 01:02:43 +00:00
.PHONY: gen-cert
gen-cert:
cfssl gencert -config certs/client-config.json -profile server -hostname weather.localdomain certs/client-csr.json | cfssljson -bare certs/out/weather
dependencies:
go get github.com/cloudflare/cfssl/cmd/cfssl
go get github.com/cloudflare/cfssl/cmd/cfssljson
go get github.com/cloudflare/cfssl/cmd/mkbundle