This commit is contained in:
Christer Warén 2024-05-05 20:16:47 +03:00
parent 05ab0bc433
commit 937435d350

View File

@ -140,12 +140,16 @@
type: RSA
size: 2048
regenerate: never
tags:
- certbot
- name: "Installer - Certbot - Self-Signed Certificates - Create Certificate Signing Request"
community.crypto.openssl_csr:
common_name: "{{ ansible_facts.fqdn }}"
privatekey_path: "/root/certs/mkj/privkey.pem"
path: "/root/certs/mkj/csr.pem"
tags:
- certbot
- name: "Installer - Certbot - Self-Signed Certificates - Generate Certificate"
community.crypto.x509_certificate:
@ -153,6 +157,16 @@
privatekey_path: "/root/certs/mkj/privkey.pem"
csr_path: "/root/certs/mkj/csr.pem"
provider: selfsigned
tags:
- certbot
- name: "Installer - Certbot - Self-Signed Certificates - Copy Certificate"
copy:
src: "/root/certs/mkj/fullchain.pem"
dest: "/root/certs/mkj/chain.pem"
force: true
tags:
- certbot
- name: "Installer - Certbot - Auth Hook"
copy: