Commit 972c7446 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

wip, debug cert og chain

parent 4251a5b5
......@@ -102,17 +102,17 @@
when: "item.ssl_type | default('certbot')== 'uib'"
- name: "concat cert and intermediate"
loop: "{{ apache_vhosts }}"
shell: cat cert.cet cert_interm.cer >> cert.pem
chdir: "{{ apache_digicert_uib_archive }}//{{ item.servername }}"
url: "{{ item.certificate_interm_only_url }}"
setype: "cert_t"
dest: "{{ apache_digicert_uib_archive }}//{{ item.servername }}/cert_interm.cer"
backup: "yes"
mode: "0444"
when: "item.ssl_type | default('certbot')== 'uib'"
creates: "{ apache_digicert_uib_archive }}//{{ item.servername }}/cert.pem"
#- name: "concat cert and intermediate"
# loop: "{{ apache_vhosts }}"
# shell: cat cert.cet cert_interm.cer >> cert.pem
# chdir: "{{ apache_digicert_uib_archive }}//{{ item.servername }}"
# url: "{{ item.certificate_interm_only_url }}"
# setype: "cert_t"
# dest: "{{ apache_digicert_uib_archive }}//{{ item.servername }}/cert_interm.cer"
# backup: "yes"
# mode: "0444"
# when: "item.ssl_type | default('certbot')== 'uib'"
# creates: "{ apache_digicert_uib_archive }}//{{ item.servername }}/cert.pem"
- name: "Create symlinks for certificates to /etc/pki/"
loop: "{{ apache_vhosts }}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment