.
This commit is contained in:
parent
afe2541e29
commit
f979eced61
@ -58,7 +58,7 @@ Set permission on rancher-server singing request:
|
||||
|
||||
Create the rancher-server certificate:
|
||||
cmd.run:
|
||||
- name: openssl x509 -req -in rancher-server.csr -CA rancher-ca.crt -CAkey rancher-ca.key -CAcreateserial --extfile rancher-server.cnf -extensions v3_req -out rancher-server.crt -days 3650 -sha256 -passin pass:{{ pillar['rancher']['ca_passphrase'] }}
|
||||
- name: openssl x509 -req -in rancher-server.csr -CA rancher-ca.crt -CAkey rancher-ca.key -CAcreateserial -extfile rancher-server.cnf -extensions v3_req -out rancher-server.crt -days 3650 -sha256 -passin pass:{{ pillar['rancher']['ca_passphrase'] }}
|
||||
- cwd: /etc/rancher/ssl
|
||||
- onchanges:
|
||||
- cmd: Create the rancher-server signing request
|
||||
|
@ -65,7 +65,7 @@ Set permission on rmt-server singing request:
|
||||
|
||||
Create the rmt-server certificate:
|
||||
cmd.run:
|
||||
- name: openssl x509 -req -in rmt-server.csr -CA rmt-ca.crt -CAkey rmt-ca.key -CAcreateserial -out rmt-server.crt -days 3650 -sha256 -passin pass:{{ pillar['rmt']['ca_passphrase'] }}
|
||||
- name: openssl x509 -req -in rmt-server.csr -CA rmt-ca.crt -CAkey rmt-ca.key -CAcreateserial -extfile rancher-server.cnf -extensions v3_req -out rmt-server.crt -days 3650 -sha256 -passin pass:{{ pillar['rmt']['ca_passphrase'] }}
|
||||
- cwd: /etc/rmt/ssl
|
||||
- onchanges:
|
||||
- cmd: Create the rmt-server signing request
|
||||
|
Loading…
Reference in New Issue
Block a user