File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,11 @@ tasks:
7979
8080 tls-certs :
8181 desc : " Generate client TLS certificates"
82- deps : [_cert-client-dir, _cert-client-key, _cert-client-csr, _cert-client-crt]
8382 cmds :
83+ - task : _cert-client-dir
84+ - task : _cert-client-key
85+ - task : _cert-client-csr
86+ - task : _cert-client-crt
8487 - echo "Client TLS certificates generated"
8588
8689 _cert-client-dir :
@@ -99,15 +102,13 @@ tasks:
99102
100103 _cert-client-csr :
101104 internal : true
102- deps : [_cert-client-key]
103105 cmds :
104106 - openssl req -new -key {{.CLIENT_DIR}}/{{.CLIENT_NAME}}.key -out {{.CLIENT_DIR}}/{{.CLIENT_NAME}}.csr -subj "/CN={{.CLIENT_NAME}}"
105107 status :
106108 - test -f {{.CLIENT_DIR}}/{{.CLIENT_NAME}}.csr
107109
108110 _cert-client-crt :
109111 internal : true
110- deps : [_cert-client-csr]
111112 cmds :
112113 - openssl x509 -req -in {{.CLIENT_DIR}}/{{.CLIENT_NAME}}.csr -CA {{.CA_DIR}}/ca.crt -CAkey {{.CA_DIR}}/ca.key -CAcreateserial -out {{.CLIENT_DIR}}/{{.CLIENT_NAME}}.crt -days 365 -sha256
113114 status :
You can’t perform that action at this time.
0 commit comments