mirror of https://github.com/mitchell/selfpass.git
Refactor services cert makefile commands
This commit is contained in:
parent
5346a4922e
commit
ce8596ce8a
|
@ -82,10 +82,10 @@ gen-ca:
|
||||||
cd certs && cfssl genkey -initca csr.json | cfssljson -bare ca
|
cd certs && cfssl genkey -initca csr.json | cfssljson -bare ca
|
||||||
|
|
||||||
gen-server-cert:
|
gen-server-cert:
|
||||||
cd certs && cfssl gencert -ca ca.pem -ca-key ca-key.pem csr.json | cfssljson -bare server
|
cd certs && cfssl gencert -ca ca.pem -ca-key ca-key.pem -profile www csr.json | cfssljson -bare server
|
||||||
|
|
||||||
gen-client-cert:
|
gen-client-cert:
|
||||||
cd certs && cfssl gencert -ca ca.pem -ca-key ca-key.pem csr.json | cfssljson -bare client
|
cd certs && cfssl gencert -ca ca.pem -ca-key ca-key.pem -profile client csr.json | cfssljson -bare client
|
||||||
|
|
||||||
gen-certs-go:
|
gen-certs-go:
|
||||||
./gen_certs_go.sh > ./cmd/certs.go
|
./gen_certs_go.sh > ./cmd/certs.go
|
||||||
|
|
Loading…
Reference in New Issue