Use more specific hostnames in cert

role_netmaker_server
Ruakij 2 years ago
parent bb3d363094
commit 3890007042

@ -7,7 +7,12 @@
path: /opt/netmaker_server/certs/node.csr path: /opt/netmaker_server/certs/node.csr
privatekey_path: /opt/netmaker_server/certs/node.key privatekey_path: /opt/netmaker_server/certs/node.key
common_name: "{{ ansible_facts.nodename }}" common_name: "{{ ansible_facts.nodename }}"
subject_alt_name: "DNS:*.{{ ansible_facts.nodename }},DNS:*.{{ netmaker.base_domain }}" subject_alt_name:
"DNS:{{ netmaker_rqlite.http_host }}.{{ ansible_facts.nodename }},\
DNS:{{ netmaker_rqlite.cluster_host }}.{{ ansible_facts.nodename }},\
DNS:{{ netmaker_broker.tls_host }}.{{ netmaker_base_domain }},\
DNS:{{ netmaker_api.host }}.{{ netmaker_base_domain }},\
DNS:{{ netmaker_ui.host }}.{{ netmaker_base_domain }}"
- name: Fetch CSR - name: Fetch CSR
ansible.builtin.fetch: ansible.builtin.fetch:

Loading…
Cancel
Save