Whoops, got the keys mixed up
This commit is contained in:
parent
6612541a7b
commit
67e428dd41
@ -114,7 +114,7 @@
|
|||||||
openssl_csr:
|
openssl_csr:
|
||||||
path: "/etc/pki/cert/csr/{{ nextcloud_url }}.csr"
|
path: "/etc/pki/cert/csr/{{ nextcloud_url }}.csr"
|
||||||
common_name: "{{ nextcloud_url }}"
|
common_name: "{{ nextcloud_url }}"
|
||||||
privatekey_path: /etc/pki/cert/private/account.key
|
privatekey_path: /etc/pki/cert/private/{{ nextcloud_url }}.key
|
||||||
email_address: "rehashedsalt@cock.li"
|
email_address: "rehashedsalt@cock.li"
|
||||||
- name: Create well-known directory
|
- name: Create well-known directory
|
||||||
file:
|
file:
|
||||||
@ -140,7 +140,9 @@
|
|||||||
when: com_challenge is changed
|
when: com_challenge is changed
|
||||||
- name: Create certificate
|
- name: Create certificate
|
||||||
acme_certificate:
|
acme_certificate:
|
||||||
account_key: /etc/pki/cert/private/{{ nextcloud_url }}.key
|
acme_directory: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||||
|
acme_version: 2
|
||||||
|
account_key: /etc/pki/cert/private/account.key
|
||||||
csr: "/etc/pki/cert/csr/{{ nextcloud_url }}.csr"
|
csr: "/etc/pki/cert/csr/{{ nextcloud_url }}.csr"
|
||||||
dest: "/etc/pki/cert/crt/{{ nextcloud_url }}.crt"
|
dest: "/etc/pki/cert/crt/{{ nextcloud_url }}.crt"
|
||||||
fullchain_dest: "/etc/pki/cert/crt/{{ nextcloud_url }}-fullchain.crt"
|
fullchain_dest: "/etc/pki/cert/crt/{{ nextcloud_url }}-fullchain.crt"
|
||||||
|
Loading…
Reference in New Issue
Block a user