From 32dab841d7b43fa47d886e220108b669b01fc35e Mon Sep 17 00:00:00 2001 From: Bruno Vernay Date: Thu, 9 Dec 2021 20:52:18 +0100 Subject: [PATCH] Fix CSR copy/paste error (#349) The first case about ca_csr has been copy/pasted. But in the following cases, the CSR must be the certificate csr. --- docs/docsite/rst/guide_ownca.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/guide_ownca.rst b/docs/docsite/rst/guide_ownca.rst index 0c2ed466..8855365d 100644 --- a/docs/docsite/rst/guide_ownca.rst +++ b/docs/docsite/rst/guide_ownca.rst @@ -71,7 +71,7 @@ In the following example, we assume that the certificate to sign (including its - name: Sign certificate with our CA community.crypto.x509_certificate_pipe: - csr_content: "{{ ca_csr.csr }}" + csr_content: "{{ csr.csr }}" provider: ownca ownca_path: /path/to/ca-certificate.pem ownca_privatekey_path: /path/to/ca-certificate.key @@ -128,7 +128,7 @@ Please note that the above procedure is **not idempotent**. The following extend - name: Sign certificate with our CA community.crypto.x509_certificate_pipe: content: "{{ (certificate.content | b64decode) if certificate_exists.stat.exists else omit }}" - csr_content: "{{ ca_csr.csr }}" + csr_content: "{{ csr.csr }}" provider: ownca ownca_path: /path/to/ca-certificate.pem ownca_privatekey_path: /path/to/ca-certificate.key