Skip to content

Commit

Permalink
Merge pull request #73 from NETWAYS/72-check-in-client-cert-path
Browse files Browse the repository at this point in the history
Use the cert client path to check certificate validity
  • Loading branch information
afeefghannam89 authored Aug 29, 2024
2 parents 1a5abe7 + 6d95ae9 commit 1fbe4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
- name: Check if client certificate has to be renewed
ansible.builtin.import_tasks: renew.yml
vars:
crt_path: "{{ ca_ca_dir }}/{{ inventory_hostname }}.crt"
crt_path: "{{ ca_client_ca_dir }}/{{ inventory_hostname }}.crt"
when: ca_renew | bool

- name: (Re)sign CSR with CA key
Expand Down

0 comments on commit 1fbe4e8

Please sign in to comment.