From f979eced61c7dc6cb48b520000f0f709a72e2704 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Tue, 9 Nov 2021 08:05:19 +0100 Subject: [PATCH] . --- salt/states/rancher/certs.sls | 2 +- salt/states/rmt/certs.sls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/states/rancher/certs.sls b/salt/states/rancher/certs.sls index 5bea15a..9ce399c 100644 --- a/salt/states/rancher/certs.sls +++ b/salt/states/rancher/certs.sls @@ -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 diff --git a/salt/states/rmt/certs.sls b/salt/states/rmt/certs.sls index fbfe3b0..39c29bd 100644 --- a/salt/states/rmt/certs.sls +++ b/salt/states/rmt/certs.sls @@ -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