This commit is contained in:
Jonas Forsberg 2021-11-09 08:05:19 +01:00
parent afe2541e29
commit f979eced61
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ Set permission on rancher-server singing request:
Create the rancher-server certificate: Create the rancher-server certificate:
cmd.run: 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 - cwd: /etc/rancher/ssl
- onchanges: - onchanges:
- cmd: Create the rancher-server signing request - cmd: Create the rancher-server signing request

View File

@ -65,7 +65,7 @@ Set permission on rmt-server singing request:
Create the rmt-server certificate: Create the rmt-server certificate:
cmd.run: 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 - cwd: /etc/rmt/ssl
- onchanges: - onchanges:
- cmd: Create the rmt-server signing request - cmd: Create the rmt-server signing request